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

Equivalent Coral2 of /libs/granite/ui/components/coral/foundation/authorizable/autocomplete

Avatar

Community Advisor

I have created one page property named: Content Approver Group with sling:resourceType: granite/ui/components/coral/foundation/authorizable/autocomplete

 

This autocomplete page property named: Content Approver Group is designed to allow the content authors to pick the user group from suggested list as shown in below screenshot -

 

DEBAL_DAS_0-1661794249242.png

 

Here is node and property details associated with Content Approver Group

DEBAL_DAS_1-1661794312750.png

 

But I would like to implement the same in coral2. I feel if I refer Participant Step component in AEM6.2 then I will be able to  implement the same in coral2.

 

@kautuk_sahni ,

 

How can I get the AEM 6.2 quickstart jar? Please suggest.

 

4 Replies

Avatar

Community Advisor

Hi Debal,

Can you please let us know the use case here ? Coral3/Granite are the improved version of Coral2. Why you want to go backwards.

 

You can try https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/... with datasource

e.g. https://aemlab.blogspot.com/2018/08/searchfilter-touch-ui-dialog-dropdown.html 

 

Avatar

Community Advisor

Hi @arunpatidar ,

 

I saw your blog already and sure I will give a try with this.

Though we are using AEM 6.5.x, but still components are using Coral2. I can say this much only about the use case.

 

Initially I wanted to create an autocomplete page property with /libs/granite/ui/components/coral/foundation/authorizable/autocomplete, so that it will allow the content author to pick the user groups from suggested list.

Here is the link https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/...

 

I have got the idea to use /libs/granite/ui/components/coral/foundation/authorizable/autocomplete from Participant Step component.

 

I agree with your point "Coral3/Granite are the improved version of Coral2." It makes my life easier to complete the design and it requires no extra development.

Avatar

Community Advisor

AEM 6.5.x also support coral3, so there will not be any limitation if you continue using coral3 components.

Avatar

Community Advisor

I can't use both coral2 and coral3 in same component.

Most of the project specific components are using coral2.

Now I have decided to use /libs/granite/ui/components/foundation/form/userpicker.

 

Here is my node structure details -

DEBAL_DAS_0-1661844441209.png

 

Approver page property details has been shown below -

 

DEBAL_DAS_1-1661844466723.png