Using SelectDataSource for dynamic select box with users list | Community
Skip to main content
tadijam47062732
Level 3
January 13, 2020
Solved

Using SelectDataSource for dynamic select box with users list

  • January 13, 2020
  • 1 reply
  • 1423 views

I am trying to use selectdatasource (https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/authorizable/selectdatasource/index.html ) 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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/index.html?com/day/cq/security/util/AuthorizableQueryManager.html

 

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

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
January 14, 2020

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/index.html?com/day/cq/security/util/AuthorizableQueryManager.html

 

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
tadijam47062732
Level 3
January 14, 2020

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.