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

Store external data in JCR

Avatar

Level 3

Hi AEM Guru's

I am new to AEM 6.5 , I have a requirement in the project where I need to store the external data in JCR (example alerts data(alert desc, alertdate, isalertactive , alertclosed) , last tweet in the client twitter account etc..) and read it when required and show it on the screen.

Are there any recommendations by AEM to store external data in specific nodes such as content or etc.  and as well it should be secured.

Any pointers highly appreciated.

Regards

Dilip

1 Accepted Solution

Avatar

Correct answer by
Employee

Storing external data in JCR is a common practice. AEM will be able to maintain the data with Online Compaction. You can use OOTB nodes to store your data, or it is possible to add a custom node type by using a Node Type Administration via CRX Explorer.

View solution in original post

3 Replies

Avatar

Community Advisor

Hi,

Its ok to store data in content but if you don't want direct access, you can block from dispatcher.

Avatar

Level 3

Hi Dilip.. you can store any data in jcr as long as it follows the JCR recommendations. you can use the API to write data which is common. for the path , it is always a good practice to keep ser generated data separate than your project data. But there is no limitations from AEM end, you can put it anywhere. for security you should use the ACL's and dispatcher filters

Avatar

Correct answer by
Employee

Storing external data in JCR is a common practice. AEM will be able to maintain the data with Online Compaction. You can use OOTB nodes to store your data, or it is possible to add a custom node type by using a Node Type Administration via CRX Explorer.