Add Generic list in /content folder | Community
Skip to main content
Level 2
April 25, 2023
Solved

Add Generic list in /content folder

  • April 25, 2023
  • 2 replies
  • 1524 views

Hi Team,

 

I wanted to implement Generic List in /content folder instead of etc/acs-commons/lists. 
any solutions please.

Thanks in advance

Best answer by Fanindra_Surat

Hi @gskittu -

 

How do you desire to use the generic list?

If it is just for populating the dialog properties then you can store it anywhere but with the matching resource type 

acs-commons/components/utilities/genericlist/datasource

But, you might loose out on the ability to edit the lists, as the Generic lists interface used to create/update lists would read or update from /etc/acs-commons/lists hierarchy. You also need to ensure that the acs commons user has the required read permissions to the location where you intend to store the lists.

 

Hope this helps!

 

Ref usage: https://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists/index.html

2 replies

ShaileshBassi
Community Advisor
Community Advisor
April 26, 2023

Hi @gskittu There is a similar post to this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/acs-commons-generic-list/td-p/396660

You can refer this and see if it works for you.

Hope this helps!

Thanks

Fanindra_Surat
Community Advisor
Fanindra_SuratCommunity AdvisorAccepted solution
Community Advisor
April 27, 2023

Hi @gskittu -

 

How do you desire to use the generic list?

If it is just for populating the dialog properties then you can store it anywhere but with the matching resource type 

acs-commons/components/utilities/genericlist/datasource

But, you might loose out on the ability to edit the lists, as the Generic lists interface used to create/update lists would read or update from /etc/acs-commons/lists hierarchy. You also need to ensure that the acs commons user has the required read permissions to the location where you intend to store the lists.

 

Hope this helps!

 

Ref usage: https://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists/index.html