Is there an easy way to extract AEM nodes into JSON | Community
Skip to main content
Level 4
July 27, 2021
Solved

Is there an easy way to extract AEM nodes into JSON

  • July 27, 2021
  • 1 reply
  • 1736 views

I am trying to run a query which fetches nodes(more than 10k) from AEM and i trying to extract that as a json.

 

 

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 arunpatidar

Hi,
You can use the Querybuilder API to get json response of nodes

e.g. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/json-file-for-content-dam-path/qaq-p/417207

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 27, 2021
Arun Patidar
arunpatidar
Community Advisor
Community Advisor
July 27, 2021

you can specify the properties which you want to return

e.g.

type=dam:Asset path=/content/dam/wknd/en/activities/hiking p.limit=-1 p.hits=selective p.properties=jcr:path jcr:uuid jcr:content/dam:assetState

 

Arun Patidar