How to create a static list for Form option component | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 31, 2020 12:11 PM UTC

11 replies

johns56194565
Level 2
Sep 1, 2020 7:25 PM UTC

Hi @arunpatidar thanks for replying and pointing to code but still it does not pick the list. Can you share a snapshot maybe of static list that is getting picked?

Translate
johns56194565
Level 2
Sep 1, 2020 7:21 PM UTC

delete

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 31, 2020 12:11 PM UTC
Arun Patidar
johns56194565
Level 2
Sep 1, 2020 7:22 PM UTC
Hi @arunpatidar thanks for replying and pointing to code but still it does not pick the list. Can you maybe share a snapshot of static list that is getting picked?
Translate
Theo_Pendle
Level 8
Aug 29, 2020 8:11 PM UTC

Hi @johns56194565,

If you're looking for a way to add/change the Type drop-down, have a look at my tutorial on the subject: https://levelup.gitconnected.com/aem-populate-a-drop-down-with-a-data-source-edafada90cc4

Translate
johns56194565
Level 2
Aug 30, 2020 7:37 PM UTC
Hi @theo_pendle thanks for responding. No this is not what I am looking for. I am trying to use form option component on my page which has option to choose source as static list which exist in JCR. I want to understand how the list is created that I can use as source. Please refer to the doc I shared : https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/forms/form-options.html it has an option to keep list in source.
Translate
ChitraMadan
New Participant
Aug 28, 2020 8:13 PM UTC

Hi @johns56194565 ,

 

Are you trying to find an example of populating a drop down using data source?

Translate
johns56194565
Level 2
Aug 30, 2020 7:39 PM UTC
Hi @ChitrMadan thanks for response too. I am not looking for data source but I am trying to use form option component on my page which has option to choose source as static list which exist in JCR. I want to understand how the list is created that I can use as source. Please refer to the doc I shared : https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/forms/form-options.html it has an option to keep list in source.
Translate