Store external data in JCR

Avatar

Avatar

dilips50359074

Avatar

dilips50359074

dilips50359074

04-09-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

05-09-2019

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.

Answers (2)

Answers (2)

Avatar

Avatar

anujg3325839

Avatar

anujg3325839

anujg3325839

04-09-2019

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

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

04-09-2019

Hi,

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