Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Assets - Link to published asset from the author?


Level 2

Is there a way to view the URL/link to a published asset from the author?

In other words, I am after the URL of the asset on the publisher. I know there are ways of sharing assets, generating URL's and embed code. However, none of them link to the raw file on the publisher.

3 Replies


Community Advisor

I'm not able to understand why would the url change for publish server apart from the "domain/host name/port"? Could you elaborate with an example?


Level 2

Thanks for the reply.

You are absolutely correct that the only change for a published asset would be the hostname/port. I'm asking mainly for authors/content producers that may not be familiar or even care about the AEM system stack. In other words, if a content producer uploads an asset, publishes it, and wants a direct link to the file there doesn't seem to be a way to pull it in the UI.


Community Advisor

You may use externalizer for this use case - Externalizing URLs

Configure the domains in /system/console/configMgr

To externalize a path with the 'publish' domain:

String myExternalizedUrl = externalizer.publishLink(resolver, "/my/page") + ".html";

Assuming the domain mapping "publish", myExternalizedUrl ends up with the value "".