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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

ACS Commons Generic List

Avatar

Level 5

ACS Commons Generic List is present under /etc, but is it possible to use the list from /apps?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Shaheena_Sheikh,

If you are using the Generics list for dialogues, then you can place it right under /apps. Just make sure you are using the expected resourceType (acs-commons/components/utilities/genericlist) when creating the generics list resource. I have just tested this out by placing my generics list under /apps/my-site/lists, and it is working fine.

 

 

<textColor
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/foundation/form/select"
        fieldLabel="Text Color"
        name="./textColor">
    <datasource
            jcr:primaryType="nt:unstructured"
            sling:resourceType="acs-commons/components/utilities/genericlist/datasource"
            path="/apps/my-site/lists/customcolors"/>
</textColor>

 

 

 

2 Replies

Avatar

Community Advisor

I don't think so. You'll to extend this functionality for customization per your equirements.

Avatar

Correct answer by
Community Advisor

@Shaheena_Sheikh,

If you are using the Generics list for dialogues, then you can place it right under /apps. Just make sure you are using the expected resourceType (acs-commons/components/utilities/genericlist) when creating the generics list resource. I have just tested this out by placing my generics list under /apps/my-site/lists, and it is working fine.

 

 

<textColor
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/foundation/form/select"
        fieldLabel="Text Color"
        name="./textColor">
    <datasource
            jcr:primaryType="nt:unstructured"
            sling:resourceType="acs-commons/components/utilities/genericlist/datasource"
            path="/apps/my-site/lists/customcolors"/>
</textColor>