Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Using SelectDataSource for dynamic select box with users list

Avatar

Level 3

I am trying to use selectdatasource (https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui... ) for generating selectbox with list of  users from the specific group. This is used inside the workflow as a Dynamic Participant Step.

 

Is there any example of using this in similar use case? Documentation is very thin on this one.

 

Any other idea of implementing this?

 

AEM 6.5

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Its true there is limited documentation to use this feature but it is straight forward to implement.

Create a node of type granite/ui/components/coral/foundation/authorizable/autocomplete

Create child node of above of type granite/ui/components/coral/foundation/authorizable/selectdatasource

 

Please check below for query

 https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/in...

 

Can you please share where it is used? for dynamic participants it is not used but for participants without selectdatasource

/libs/cq/workflow/components/model/dynamic_participant/cq:dialog/content/items

/libs/cq/workflow/components/model/participant/cq:dialog/content/items/participant/items/columns/items/participant

 



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

Its true there is limited documentation to use this feature but it is straight forward to implement.

Create a node of type granite/ui/components/coral/foundation/authorizable/autocomplete

Create child node of above of type granite/ui/components/coral/foundation/authorizable/selectdatasource

 

Please check below for query

 https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/in...

 

Can you please share where it is used? for dynamic participants it is not used but for participants without selectdatasource

/libs/cq/workflow/components/model/dynamic_participant/cq:dialog/content/items

/libs/cq/workflow/components/model/participant/cq:dialog/content/items/participant/items/columns/items/participant

 



Arun Patidar

Avatar

Level 3

I added custom dialog to the Dynamic Participant Step inside of the workflow. This dialog is shown to the user later with the option to choose which user from some specific group to choose. This group will be entered as an "argument" to the Dynamic Participant Step of the workflow. Already solved it but your answer is correct so I will mark it that way. Thank you.