Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM redirect/point to external UAT and PROD

Avatar

Level 3

I have a requirement where on click of a button "Apply Online" that is on AEM page it should ogo to external domain UAT environment link and when project will be in production it should start pointing to production  url and open external domain  PROD link.

Looking for a solution as how can I map external domain urls using button dialog.

Kind of stuck now so really looking forward for possible solution.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Try to construct/get the link based on run-mode uat/prod and point it accordingly.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

Try to construct/get the link based on run-mode uat/prod and point it accordingly.

Avatar

Level 3

Thanks for your response . Will try that