I have one Old page which was created on Aem6.0 or something. I want to extract the properties of old component like asset url, decription, and all. And update in new component
Approach:
1.) Workflow will hit the old page(5-10 pages) and extract the detail,
2.) Launch will triggered on referring new Page,
3.) The extracted details need to be updated in the launch Page.
4.) Using loop will do for each and every page.
How can I achieve step 1,2,3 or any other optimal step
Views
Replies
Total Likes
Hi @Ronnie09
Can you try accessing the page content with infinity.json?
http://localhost:4502/content/we-retail/language-masters/en/jcr:content.infinity.json
This will give you the complete JSON structure with all content details for your component and you can read these value and use it as necessary.
Thanks!
old_component:new_component
example
/content/example/old_component: /content/example/new_component
/conent/example/old_component/resource: xyz
/content/example/new_component/resource: PQR
I got data as key value pair now should I update the mapping
componentsFound.forEach((k, v) -> LOG.info("key : {} , value : {}",k,v));
Now how should I update the old component
Hi @Ronnie09,
Is it possible for you to share the
Views
Likes
Replies