Expand my Community achievements bar.

SOLVED

How to get Workbench response in Adaptive Forms

Avatar

Level 3

Hello - is there any way to get AEM Forms workbench response in Adaptive Forms? I can able to invoke the workbench SOAP service but not sure how to catch the response in Adaptive Forms?

 

Please help me on this.

 

Regards,

Srujan

1 Accepted Solution

Avatar

Correct answer by
Employee

Workbench is a Java based (Eclipse) development tool. You cannot integrate this with adaptive forms. The SOAP communication is between the server and the client to upload,version and deploy assets and processes. I have never seen someone to attempt that. The SOAP communication is not documented. 

View solution in original post

5 Replies

Avatar

Correct answer by
Employee

Workbench is a Java based (Eclipse) development tool. You cannot integrate this with adaptive forms. The SOAP communication is between the server and the client to upload,version and deploy assets and processes. I have never seen someone to attempt that. The SOAP communication is not documented. 

Avatar

Level 2

Our adaptive forms consume REST endpoints to interact with the Workbench processes. It works, but I think we can do better.

We have an Adaptive Forms application that consumes REST endpoints exposed by workbench processes to perform CRUD operations on a SQL Server database via Workbench processes. This endpoint consumption is triggered by javascript code in the out-of-the-box adaptive form action listeners that make the call via XMLHttpRequest, so user interaction is required. What we would like is a more seamless interaction.

Avatar

Employee Advisor

In your JavaScript code are you able to access the response? If yes you can set the value of the field in your adaptive form using the guide bridge api

or have you considered using form data model to connect to your database and interact with the database using adaptive form based on the form data model