Hi All,
I am facing below issue. Can someone help please?
I am having a component with pathfield. I am renaming some node using move option in siteadmin. The pathfield is not updating the links with the new name.
For ex: I had previously /content/site/en/page.html in siteadmin and in path field of a component dialog this link referred.
Now I renamed it to /content/site/en1/page.html in siteadmin. When I open the component dialog, the pathfield still shows the path as /content/site/en/page.html and not /content/site/en1/page.html
Thank you
Arnab
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Arnab,
By default it wont get changed for already authored components.
Please fire a jcr query and get the number of pages that are still pointing to the old url. Then iterate through all those pages from java code and using JCR api change the JCR Property and update with the correct paths.
P.S : If the total number of affected places that are needed to updated is less than 20 then manual approach is OK, otherwise follow automation and do it through the code.
Thanks and Regards
Tuhin Ghosh
Views
Replies
Total Likes
Hi Arnab,
By default it wont get changed for already authored components.
Please fire a jcr query and get the number of pages that are still pointing to the old url. Then iterate through all those pages from java code and using JCR api change the JCR Property and update with the correct paths.
P.S : If the total number of affected places that are needed to updated is less than 20 then manual approach is OK, otherwise follow automation and do it through the code.
Thanks and Regards
Tuhin Ghosh
Views
Replies
Total Likes