Generic List (ACS-Commons) | Community
Skip to main content
New Participant
November 15, 2022
Solved

Generic List (ACS-Commons)

  • November 15, 2022
  • 3 replies
  • 1239 views

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.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by KNan

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-generic-list-where-should-i-place-in-my/td-p/431761

 

Thanks

3 replies

New Participant
November 15, 2022
KNanAccepted solution
New Participant
November 15, 2022

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-generic-list-where-should-i-place-in-my/td-p/431761

 

Thanks

TarunKumar
New Participant
November 15, 2022

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!