Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Store data/ access data in/from AEM JCR in AEM 6.3

Avatar

Level 2

How to store data in AEM JCR and access it?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Prefer to use Resource API which are closer to Sling like:

 

These would assure that when you Create/update a Page/Asset, a proper structure is present. You can also then set the metadata/properties using those API.


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Community Advisor

You can store data in AEM using JCR Node API and Access using withs are or other supported APIs

Node (Content Repository for Java Technology API Version 2.0)



Arun Patidar

Avatar

Correct answer by
Community Advisor

Prefer to use Resource API which are closer to Sling like:

 

These would assure that when you Create/update a Page/Asset, a proper structure is present. You can also then set the metadata/properties using those API.


Aanchal Sikka