Expand my Community achievements bar.

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

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

 



Arun Patidar

View solution in original post

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

 



Arun Patidar

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

 



Arun Patidar