There is an issue already cracked my head.
I have used an API service https://experienceleague.adobe.com/docs/experience-manager-65/forms/adaptive-forms-advanced-authorin...
to get data in forms fields. Used this form initialize event. with the required coding. But its not working. What exactly the issue here not sure. Can anyone give me some idea?
Is your form data model working when you test it using the form model editor? If yes
try it invoking on the click event of a button
If the second test is successful then try using the code
And its working fine in form data model editor. Tested with Get service. by passing the required parameter value. Can you please tell me how can handle he exception in case there is an exception in API?