Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Webservice call in PDF form

Avatar

Former Community Member
Hi,



I can successfully given reader extension permission to pdf forms with web service enable.



But Web services not connected when i opened the pdf forms.



Hint :



Some times it is working , some times it says "Error Attempting read from file".
4 Replies

Avatar

Former Community Member
How are you invoking the web service. On which event do you have the call to the web service?

Avatar

Former Community Member
xfa.connectionset.approverreviewer.execute(0)



or



xfa.connectionset.approverreviewer.execute(1)

Avatar

Former Community Member
The 0 and the 1 are boolean values that tell the product whether to do a re-merge of the data dom or not. I would suggest you do not do the re-merge. You have not said which event you are running this on and which object you tied this to.

Avatar

Former Community Member
i have called this from form initialize and button click event.