Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
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
Vistas
Respuestas
Total de me gusta
Is this replicated to publish instance?
Vistas
Respuestas
Total de me gusta
Yes @Himanshu_Jain
Vistas
Respuestas
Total de me gusta
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
Vistas
Respuestas
Total de me gusta
No luck,Same issue after using generic api
Vistas
Respuestas
Total de me gusta
@neeraj_24412 Can you check the logs on the publisher, could be a permission-related issue for the user.
Vistas
Respuestas
Total de me gusta
No errors in log
Vistas
Respuestas
Total de me gusta
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
Vistas
Respuestas
Total de me gusta
But I am accessing publish instance from admin,I think permission isn't the issue here.
Vistas
Respuestas
Total de me gusta
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.
Vistas
Respuestas
Total de me gusta
Yes @DEBAL_DAS
Vistas
Respuestas
Total de me gusta
Hi @DEBAL_DAS ,
Any other input on this?
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas