Expand my Community achievements bar.

SOLVED

Best approach to manage drop-down values

Avatar

Former Community Member

Hi All,

 

I am quite new to CQ world. I was trying to understand what's the best way to manage drop-down values for a dialog box.

Should it be managed via OSGI configuration or through data node properties.

 

Thanks,

A.S. 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Anjani,

You might want to take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists.html, which is a way to allow drop-down lists to be easily authorable content.

Regards,

Justin

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Anjani,

You might want to take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists.html, which is a way to allow drop-down lists to be easily authorable content.

Regards,

Justin

Avatar

Level 10

Typically a drop-down control is managed by the component's JavaScript. You can populate a drop-down control by using a JavaScript method. See this community article to learn how to create an AEM component with a drop-down and populate it using JavaScript:

http://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html

You can dynamically update a drop-down list by calling an OSGi bundle operation. But in this use case - the OSGi bundle operation returns a data set that is displayed in a drop-down control - it does not manage it.