I want to fetch all the available tags under a given folder. Is it possible to perform the same using GQL API or would I need QueryBuilder or Assets API for the same?
Solved! Go to Solution.
Views
Replies
Total Likes
I don't think we can use GQL to fetch the tags like we use QueryBuilder API. I think AEM GQL API is very specific to query the content fragments by its schema. May be Adobe guys can chime in and confirm. Sorry for the confusion!
Some insight here : https://www.albinsblog.com/2022/04/aem-adobe-experience-manager-content-sharing-approaches.html#.YzL...
You can write simple query using querybuilder API and read all the tags under a specific path.
path=<path of the folder>
p.limit=-1
type=cq:tag
thank you very much @Saravanan_Dharmaraj I know we can do it via queryBuilder however I was checking for the possibility of querying the same using GQL. Thanks
I don't think we can use GQL to fetch the tags like we use QueryBuilder API. I think AEM GQL API is very specific to query the content fragments by its schema. May be Adobe guys can chime in and confirm. Sorry for the confusion!
Some insight here : https://www.albinsblog.com/2022/04/aem-adobe-experience-manager-content-sharing-approaches.html#.YzL...