Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

how can we integrate the adaptive form with java business logic in crx/de

Avatar

Level 1

Hi,

Please suggest how can we pre-populate data in the adaptive form by using java business code.

Kindly suggest.

Thanks in Advance.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
2 Replies

Avatar

Correct answer by
Employee Advisor

Avatar

Employee

Hi Sandhya,

Attached PDF document has a sample implementation of the pre-fill service. It also lists an interface to pre-fill forms without providing the DataRef attribute, an example to provide a custom implementation for the getDataXMLForDataRef API, and a sample implementation which returns data from a fixed node.

I hope you find it useful.

Regards,
Khushwant Singh