Saving JCR query results
I ran a JCR query by going to CRXDE Lite and get the results I want. Is there a way to extract or save the result set from the query into either text or excel file?
I ran a JCR query by going to CRXDE Lite and get the results I want. Is there a way to extract or save the result set from the query into either text or excel file?
Out of the box -- no; however - you can write a custom CQ service. That is one of the most powerful features of AEM -- the ability to customize it.
We have community articles that will help you for this use case.
See this community article that will help you write an OSGi bundle that knows how to query the AEM JCR using the JCR API:
http://scottsdigitalcommunity.blogspot.ca/2013/02/querying-adobe-experience-manager-data.html
See this community article that talks about how to get Excel functionality into CQ:
http://scottsdigitalcommunity.blogspot.ca/2013/08/creating-custom-excel-service-for-adobe.html
Then you can combine the app logic shown in the 2 articles - that is - you can search the AEM JCR using the JCR API. Then you can write the result set to an excel Spreadsheet using the Excel API as discussed in the 2nd link.
Hope this helps
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.