Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Add Generic list in /content folder

Avatar

Level 2

Hi Team,

 

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

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Community Advisor

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

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

Hope this helps!

Thanks

Avatar

Correct answer by
Community Advisor

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