Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

web service in xdp file not working while preview as HTML

harry2ca
Level 1
Level 1

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

1 Accepted Solution
PulkitJain
Correct answer by
Employee
Employee

@harry2ca 

Please review my comment on your other post -

 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-make-web-serv... 

 

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

View solution in original post

3 Replies
PulkitJain
Correct answer by
Employee
Employee

@harry2ca 

Please review my comment on your other post -

 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-make-web-serv... 

 

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

View solution in original post

harry2ca
Level 1
Level 1
Thanks for your reply. Let me try. Will inform if I could make it.
Mayank_Gandhi
Community Advisor
Community Advisor

@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.