I haven't found a good solution for this and hope someone else has come across this.
I have a navigation component (HTL) where all the links in the component live in the component HTML. Is there a way to get these links to automatically update to their language copy path on rollout?
i.e.
Hardcoded link: /content/site/language-masters/en/products.html
Want link to update to: /content/site/us/en/products.html after rollout.
Any ideas?
Solved! Go to Solution.
Views
Replies
Total Likes
Not really; When a page that references the HTL component is rolled out, nothing happens to the actual component template. It exists in a single instance.
You can write a custom Sling Rewriter to do that on page render time.
Moving this question to AEM topic!!
Views
Replies
Total Likes
Not really; When a page that references the HTL component is rolled out, nothing happens to the actual component template. It exists in a single instance.
You can write a custom Sling Rewriter to do that on page render time.