How can we validate that my acs-common's list replicated to publish instance
Solved! Go to Solution.
Views
Replies
Total Likes
How are you reading the resource? To read this you create a system user and provided the appropriate permissions. Can you share the code snippet that you are using to read the list?
Hi @neeraj_24412 ,
The acs commons generic list is stored under "/etc/acs-commons/lists". As an anonymous user, you will not have access to this path. If you are on a server and don't have login credentials to publish, you can only verify by reading the list within your code logic and printing the values. The other way to check is the logs while replicating, if the replication is successful, it will show in the logs.
Link to generic list acs commons - https://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists/index.html
Thanks @Anish-Sinha for reply,
I am not able to read this list on publish instance.I am not getting this "/etc/acs-commons/lists" as resource.
Please check this post for more details
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/regarding-acs-common-s-lis...
How are you reading the resource? To read this you create a system user and provided the appropriate permissions. Can you share the code snippet that you are using to read the list?
Here how can i access the list,It is working on the author instance but not in publish instance
Hi @neeraj_24412 ,
It still looks like the issue with the access to the node. The resolver is not able to read the node and hence returns an empty value. Can you try creating a system user and then assigning read permission to the etc node? It should resolve your issue. Below link that describes the steps to get a resource resolver using a system user.
https://unlocklearning.in/resource-resolver-in-aem/
Hey what will be the intermediate path for this
Hi @neeraj_24412 ,
I can connect with you if you are available now. I am online here:- https://meet.google.com/ant-ojsk-umv
feel free to join.
Thanks @Anish-Sinha for your help
@Anish-Sinha ,What the reason for not seeing generic list on aem cloud,I am not able to replicate it to publish instance?
After applying all the steps issue still persist!
I believe you need to provide anonymous user access to acs commons list node otherwise it won’t work without logging on the aem publisher. In order to verify if it will work first login on aem publisher with admin user and see if you are able to access those acs-commons list node and if yes then you need the anonymous user to have read permission on those nodes
Node is not there in publish instance after publish the generic list
Then it seems your publishing is not happening. Are you publishing with your own user and do you have permissions to publish those nodes? Can you try re-publishing the nodes and at the same time can you check the error.logs to check what happens during the replication? Can you also share the list jar:content screenshot ?
You need to check the author error log since publishing is happening there also check the replication queue and log while publishing. Can you also share the screenshot from crx/de for /etc/acs-commons/lists node. Make sure you are logged in as admin on both author and publisher to test.
Thanks,
Issue was resolved now,what's the reason for not able to publish generic list on aem cloud
Views
Likes
Replies