Expand my Community achievements bar.

SOLVED

Populating Touch UI drop down without using datasource

Avatar

Level 3

Hi,

Please let me know if their is any other way of populating Touch UI drop down apart from datasource.

Regards,

Shikha

1 Accepted Solution

Avatar

Correct answer by
Level 10

Yes you can - see this Select Granite API reference:

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/component...

See items:

items
The options of this component can be specified by this child resource, or by datasource child resource.

For those reading this and want to know how to use DataSource to populate a drop-down control in a Touch UI dialog - see:

https://helpx.adobe.com/experience-manager/using/creating-granite-datasource.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Yes you can - see this Select Granite API reference:

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/component...

See items:

items
The options of this component can be specified by this child resource, or by datasource child resource.

For those reading this and want to know how to use DataSource to populate a drop-down control in a Touch UI dialog - see:

https://helpx.adobe.com/experience-manager/using/creating-granite-datasource.html

Avatar

Level 3

Thanks for the reply, but I need little more guidance. I had reviewed that example and looking for a way to get the values from the servlet.

Is their any way by which it can be achieve.

Regards,

Shikha