ASK Published URL function
Dear team,
Do you know is there a "published URL" function AEM of each page or when is it released?
Kind regards,
Kaoru


Dear team,
Do you know is there a "published URL" function AEM of each page or when is it released?
Kind regards,
Kaoru


Yes, you are right, there is no such functionality. Because in many cases it's not that easy to deduce this information, and maybe this information is not even available on the authoring UI.
The most simple approach is: Just take the content path of a page, prepend it with the "publish domain" and append ".html".
For example:
* content path: /content/wknd/us/en/adventures
* publish domain: wknd.site
=> resulting URL: https://wknd.site/content/wknd/us/en/adventures.html
Some reasons why it's not easy:
That means when you start on https://wknd.site, you actually up on the same page, but a different URL https://wknd.site/us/en.html
I think that in AEM this is a feature which is hard to implement product-side, because this would require a much more restrictive way how to implement the concept of "websites", which is currently totally left to the developing party. There are definitely some best practices around, but from a product perspective it's not clear if this is always followed (and making a certain approach mandatory would be really hard to sell ...)
But in many cases a customization in the UI is possible, so your development team can implement it according to the "sites" concept they are persueing. But maybe there is a different way to solve your business problem, so can you share this problem with us?
Jörg
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.