I am creating the workflow to update the previously used components (Aem 6.0), to latest version so I want to write workflow to update its sling resource type, description for 15+ pages.
I am confused how to get the resource name, template name, title and description of new and old component update it accordingly used Java workflows.
If possible help me in writing the workflow to extract Sling resource type, name, template, title and description of new component that would also help a lot .
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
You can build a logic in Java which will iterate through all the pages that you want and will try to retrieve the JSON value. Now convert the JSON to Java Objects and then retrieve whatever information is required from the JSON.
Thanks!
Hi @Ronnie09
If you access any of the page with .infinity.json as the extension, you can see the complete page information.
Here is a sample:
http://localhost:4502/content/we-retail/ca/en/experience.infinity.json
Thanks!
Can you help me extracting the same (Sling resource type, name, template, title, description) using the Java code or provide some other link
You can build a logic in Java which will iterate through all the pages that you want and will try to retrieve the JSON value. Now convert the JSON to Java Objects and then retrieve whatever information is required from the JSON.
Thanks!
Sure will check and let you know.
One more question I have
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/copy-pasting-the-page/td-p...
Any info regarding this
Will give a try.
Views
Likes
Replies
Views
Likes
Replies