web service in xdp file not working while preview as HTML

Avatar

Avatar
Level 1
harry2ca
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
harry2ca
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
harry2ca
Level 1

16-06-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 25
Employee
PulkitJain
Employee

Likes

87 likes

Total Posts

91 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Give Back 10
Establish
Boost 25
View profile

Avatar
Affirm 25
Employee
PulkitJain
Employee

Likes

87 likes

Total Posts

91 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Give Back 10
Establish
Boost 25
View profile
PulkitJain
Employee

16-06-2021

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

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

328 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

328 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

17-06-2021

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