Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Is there an easy way to extract AEM nodes into JSON

Avatar

Level 4

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

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
0 Replies

Avatar

Correct answer by
Community Advisor

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-...

 

Avatar

Level 4

@arunpatidar Updated it to something like this , looks like it is getting me the info i am looking for  http://localhost:4504/bin/querybuilder.json?path=/etc/test/products&type=nt:unstructured&p.limit=-1&...  The only info i need in here is child nodes info .. This is not fetching the child info

 

 

Avatar

Community Advisor

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