AEM Query Builder Issue | Community
Skip to main content
New Participant
July 3, 2023
Solved

AEM Query Builder Issue

  • July 3, 2023
  • 4 replies
  • 1097 views

Hello All, 

I am trying to run the query to get the list of pages that contains a specific tag.

When I run the query in the debugger it looks fine whereas in actual serviceimpl it is returning 0 values.

 

what could be the reason?

 

Also, I have created a service user for our resource resolver.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ayush-anand

@sateeshkreddy Do make sure that the service user has proper permissions ( /etc/tags node if using AEM 6.3 or /content/cq:tags if using AEM 6.4+). Also, can you please share the code snippet to help us help you further.

 

Regards

Ayush

4 replies

Shahid_Siddiqui_04
New Participant
July 4, 2023

@sateeshkreddy You need to check permission on http://localhost:4502/useradmin , and make sure your service user have appropriate permission for the nodes to read, modify etc.

If it is not, then you have to check mark true, search your service user and select and then just check mark true that what node you want to access( read, modify etc.) and save it(save button is just below the properties tab). Hope this will work. 
Thanks

New Participant
July 3, 2023

@sateeshkreddy Is your issue resolved ?

aanchal-sikka
New Participant
July 3, 2023

Hello @sateeshkreddy 

 

Please verify the permissions of the service user on:

- Pages

- Tags

Aanchal Sikka
ayush-anand
ayush-anandAccepted solution
New Participant
July 3, 2023

@sateeshkreddy Do make sure that the service user has proper permissions ( /etc/tags node if using AEM 6.3 or /content/cq:tags if using AEM 6.4+). Also, can you please share the code snippet to help us help you further.

 

Regards

Ayush