Hi all,
I've created a list of countries using the acs commons , It's working on the author instance but not able to access this list on publish instance
Author Instance
Publish Instance
Views
Replies
Total Likes
Is this replicated to publish instance?
Yes @Himanshu_Jain
Can you try using below snippet provided in below page using Pagemanger API with Generic list object and iterate the key and value respectively:
https://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists/index.html
No luck,Same issue after using generic api
@neeraj_24412 Can you check the logs on the publisher, could be a permission-related issue for the user.
No errors in log
From the code snipped attached, you are currently using resource resolver with anonymous user permissions.
Create a service user having permissions to generic lists and use the same service user to get resource resolver
But I am accessing publish instance from admin,I think permission isn't the issue here.
Earlier I used the similar approach as defined at Solved: Re: How can we populate a generic list in form of ... - Adobe Experience League Community - ... and it worked for me.
Again, I have tested the same on publish instance and I am able to populate list of Indian cities.
I saw you have mentioned you have replicated both acs commons package and country list.
Yes @DEBAL_DAS
Hi @DEBAL_DAS ,
Any other input on this?
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies