cq5 - storing custom data in AEM 6.1 JCR repository -
we got aem 6.1, , went through developer training, well. coming cms background (sharepoint) , wanted learn / know, if need create list store data it, , refer programatically, somewhere on page or other common libraries in project , how do , store data , in /etc folder. not clear, guess, learnt training data stored in node types key / value pair, example if had list of movies attributes such date released, actors, awards etc. how store information in aem, don't want store part of list component of page. let me know if question vague, said, transitioning form cms. in advance.
i appreciate pointers blogs, etc..
@rahul store data? data can stored in both /etc folder , /content folder. folders in /etc used supplement application's business logic code development, eg. clientlibs folder used store client side code(website styling, scripts etc.
content folder authored content, user generated content gets persisted key value pairs , have build logic using jcr api's retrieve data content nodes. use core java build logic, if want data multiple nodes can loop through nodes , populate data structure content, if require data single node can retrieve variable, upto programmer , business scenario involved. here article describes how access content cq. https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html
Comments
Post a Comment