web service in xdp file not working while preview as HTML | Community
Skip to main content
Level 2
Jun 17, 2021 3:09 AM UTC
Solved

web service in xdp file not working while preview as HTML

Hello,

I am looking for help make web service working in HTML form. The web service in xdp file works fine when preview as PDF. But it doesn't work when preview as HTML in AEM. How to make web service call in xdp file working when the file is Previewed as HTML in AEM? Any suggestion or clue is appreciated.

Thanks in advance.

Harry

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
Jun 17, 2021 4:05 AM UTC

@harry2ca 

Please review my comment on your other post -

 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-make-web-service-in-xdp-file-working-in-html-form-after/qaq-p/412085# 

 

I think this one is a duplicate of the one mentioned above.

3 replies

Mayank_Gandhi
Employee
Jun 17, 2021 3:43 PM UTC

@harry2ca HTML rendered form will supports VanillaJS in the script editor. Like Pulkit said, make a ajax call to webservice and it will be fine unless you have some extra security layer on the service.

Translate
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
Jun 17, 2021 4:05 AM UTC

@harry2ca 

Please review my comment on your other post -

 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-make-web-service-in-xdp-file-working-in-html-form-after/qaq-p/412085# 

 

I think this one is a duplicate of the one mentioned above.

Translate
harry2caAuthor
Level 2
Jun 17, 2021 7:57 PM UTC
Thanks for your reply. Let me try. Will inform if I could make it.
Translate