Hello, I am looking forward to copy and modify node / property values via sling post. I am not sure which path to take. What I need to copy blueprint programmatically and modify property values. I have gone through the sling manipulating content. Please do share if any good example.
Solved! Go to Solution.
Views
Replies
Total Likes
See if this example helps you
http://www.albinsblog.com/2014/12/programmatically-create-page-in-cq5.html#.VgGeyN9Viko
Views
Replies
Total Likes
When you say copy blueprint and change the property value, can you let us know your use case ?
Are you trying to create live copy programmatically ?? Usually Blueprint will be created so that the business authors can use the same while creating new sites.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi
Your can go through this article :- https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html
In this article we are taking form values and sending them via AJAX post request and creating node corresponding to them.
I hope this would help you.
Else
you can create OSGi service and can modify node accordingly Link:- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
See if this example helps you
http://www.albinsblog.com/2014/12/programmatically-create-page-in-cq5.html#.VgGeyN9Viko
Views
Replies
Total Likes
Views
Likes
Replies