Data storage in AEM

arjuns71585267

11-01-2019

Is it possible to store data inside JCR in AEM 6.4? How can the stored data accesed?

I was trying to follow this tutorial but the jsp page created to demonstrate the working of data store is not actually working. It is not rendering the JSP correctly.

Adobe Experience Manager Help | Persisting Adobe Experience Manager data in the Java Content Reposit...

Could you please help me out to find an alternative tutorial or can somebody explain about why the above tutorial is not working?

The tutorial says the configuration in 5.x but I am actually trying it out in 6.4.

What all ways we can store data in AEM 6.4 primarily the data entered by user in forms.

Accepted Solutions (1)

Accepted Solutions (1)

smacdonald2008

11-01-2019

The reason for confusion is due to you attempting to follow a 5.x article on 6.4. It will not work. The dependencies are outdated, etc.

Always follow the same version when working with HELPX articles. Its is quite important as the article is tested on the given version.

I have successfully got the Persist use case working - article -- https://helpx.adobe.com/experience-manager/using/persisting-experience-manager-64.html

Video too that shows it working.

Answers (7)

Answers (7)

smacdonald2008

11-01-2019

Yes - you can use the AEM JCR to store data. You are correct - the above article was an older AEM 5.x article. For 6.4 - we will update this article to show use of AEM 6.4 - which would be very similiar - expect an HTL component is used and 6.4 dependencies. I will update this article and post back here.

arjuns71585267

11-01-2019

would like to add up a question in this thread. Jsp doesn't work well in AEM 6.4? I am getting the JSP code rendered as a normal HTML text on the page, which means my Jsp code doesn't work in AEM.