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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

ACS Commons Generic List

Shaheena_Sheikh
Level 4
Level 4

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

1 Accepted Solution
BrianKasingli
Correct answer by
Community Advisor
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>

 

 

 

View solution in original post

2 Replies
Singaiah_Chintalapudi
Community Advisor
Community Advisor

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

BrianKasingli
Correct answer by
Community Advisor
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>

 

 

 

View solution in original post