Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Autocomplete dropdown Workflow Participant Chooser

viveksachdeva
Level 7
Level 7

Hey guys,

In case number of users/groups is high, it becomes very difficult to find the user to assign the workflow to. Screenshot below:

viveksachdeva_0-1611814099028.png

 

Is there a way OOTB to have autocomplete dropdown instead of normal dropdown where authors can search for name and get a filtered list of application assignees?

 

Thanks in advance!

 

5 Replies
Vijayalakshmi_S
Community Advisor
Community Advisor

Hi @viveksachdeva,

Rendering logic related to this makes use of <coral-select> tag.

Script responsible  - /libs/cq/gui/components/coral/common/admin/timeline/alerts/workflow/provider.jsp

Autocomplete functionality is available OOB but to incorporate the same to this flow requires customization. 

viveksachdeva
Level 7
Level 7
Hi @Vijayalakshmi_S, thats for replying.. As you mentioned it uses coral select... That doesnt support select box autocomplete functionailty right?
viveksachdeva
Level 7
Level 7
One more question.. /libs/cq/gui/components/coral/common/admin/timeline/alerts/workflow/provider.jsp is basically for timelone version of worfklow complete.. Is there a quick way to find which script is used to render this dropdown in Workflow inbox?
Vijayalakshmi_S
Community Advisor
Community Advisor

Hi @viveksachdeva,

The one from Inbox makes use of Coral UI3 select field (granite/ui/components/coral/foundation/form/select) and its items are populated in JS - /libs/cq/inbox/gui/components/inbox/clientlibs/inbox/js/inbox.item.actions.completetask.js

Per the logic implemented, it is not using autocomplete feature.

 

Regarding your previous query, Per the reference doc for <coral-select>, no mention of autocomplete feature

If you are looking to customize, I suggest you to refer foundation-autocomplete which can work with fields like pathfield, tags, select so on. Related doc for reference

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