Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Generic List (ACS-Commons)

Avatar

Level 3

Hi All,

 

We are trying to use "Generic List" of ACS-commons.

 

So How we are going to package that as part of our CI/CD pipeline.

 

Do we need to overlay the Component or how do we place the Generic List as part of our Code Base.

 

Is there any Impact on Generic List data if we keep inside "/etc/acs-commons/lists" if we Upgrade ACS commons Component.

 

What is the correct approach to keep "Generic List" data.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

   You can create a folder under /etc/acs-commons/lists and keep all the generic list items inside it. Please make sure to include the path in filter.xml so it will be deployed along with your code and it will not be overridden.

 

Please refer this URL

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/i-have-added-acs-common-ge...

 

Thanks

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Sb2512 ,
You can place generic list under /apps if you are using this list in any of your component's dialog. And then you can use it in your dialog with something like below:-

         <datasource
            jcr:primaryType="nt:unstructured"
            sling:resourceType="acs-commons/components/utilities/genericlist/datasource"
            path="/apps/<site>/lists"/>

Hope this helps!

 

Avatar

Correct answer by
Community Advisor

Hi,

   You can create a folder under /etc/acs-commons/lists and keep all the generic list items inside it. Please make sure to include the path in filter.xml so it will be deployed along with your code and it will not be overridden.

 

Please refer this URL

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/i-have-added-acs-common-ge...

 

Thanks