Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Autocomplete dropdown Workflow Participant Chooser

Avatar

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

Avatar

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. 

Avatar

Level 7
Hi @Vijayalakshmi_S, thats for replying.. As you mentioned it uses coral select... That doesnt support select box autocomplete functionailty right?

Avatar

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?

Avatar

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...