Hi,
I have a requirement that a user on the site need to have some image and text data. Those images and texts were added by dragging and editing sidekick components to the page. I wonder what could be the best way to achieve this.
Thanks and regards,
Yy
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
As mentioned in last post, to store data in JCR nodes,
i wold like to share come community articles doing similar kind of things, that you could alter according to your needs.
Link:- Storing Images AEM using AssetManager API :- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
Here Front-end JSP send image data as a post request to backend OSGI
Link:- Querying AEM data using JCR API :- https://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi
As mentioned in last post, to store data in JCR nodes,
i wold like to share come community articles doing similar kind of things, that you could alter according to your needs.
Link:- Storing Images AEM using AssetManager API :- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
Here Front-end JSP send image data as a post request to backend OSGI
Link:- Querying AEM data using JCR API :- https://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Have a look into Identity Management [1] where profile page can be created and custom field can be added.
Also take a look into same available in Geometrixx Media as well.
[1] https://docs.adobe.com/docs/en/cq/5-6-1/administering/identity_management.html
Views
Replies
Total Likes
Hi Edubey,
In my case, the user can click a button to add some image and text data to his account for future retrieving. Besides Identity Management, do I need to create some tables and do querying to persist data on JCR ?
Thanks,
Yy
Views
Replies
Total Likes
For this - i would setup the JCR to store nodes that store user data, either text or images. You would need to store and retrieve user data in the AEM JCR. You can use the AEM JCR API to perform this.
Views
Replies
Total Likes
In AEM component, data automatically gets saved in jcr unless you delete component or data ( which I am assuming you wont be doing) . In your case create a component to add images and text, put it in profile page, thats it.
User will author it, and data will remain in JCR.
Views
Replies
Total Likes
Views
Likes
Replies