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

AEM Forms Prepopulating

Avatar

Level 3

Is it possible to pre populate a dropdown of the form on the backend side?

If yes, how? (without to create the property options on the jcr node)

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

workflowuser_0-1603821209924.png

the assets related to the sample are . IF you want to see it live on your system, please install tomcat on port 8080 and deploy the sampleRest.war file and then import the loanterm.zip and the DownloadedFormsPackage_926737633330900.zip into AEM using package manager

The form you want to open is http://localhost:4502/content/dam/formsanddocuments/populatedropdownlist/jcr:content?wcmmode=disabled

You can view "DownloadedFormsPackage_926737633330900.zip" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:ddd58199-9093-4764-8501-23d9d60368c2
You can view "loanterm.zip" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:5f74b2d8-30ba-43b1-a37e-bcafa838a414
You can view "SampleRest.war" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:3e833ae9-3a2c-42fd-aa92-425f9a3f39f7

View solution in original post

3 Replies

Avatar

Level 9

Yes I have used form data model to populated the values 

I can send you a simple sample

Avatar

Correct answer by
Employee Advisor

workflowuser_0-1603821209924.png

the assets related to the sample are . IF you want to see it live on your system, please install tomcat on port 8080 and deploy the sampleRest.war file and then import the loanterm.zip and the DownloadedFormsPackage_926737633330900.zip into AEM using package manager

The form you want to open is http://localhost:4502/content/dam/formsanddocuments/populatedropdownlist/jcr:content?wcmmode=disabled

You can view "DownloadedFormsPackage_926737633330900.zip" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:ddd58199-9093-4764-8501-23d9d60368c2
You can view "loanterm.zip" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:5f74b2d8-30ba-43b1-a37e-bcafa838a414
You can view "SampleRest.war" at: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:3e833ae9-3a2c-42fd-aa92-425f9a3f39f7