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
BedrockMission!

Learn More

View all

Sign in to view all badges

Assets - Link to published asset from the author?

Avatar

Avatar
Validate 1
Level 2
crazy4aem
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
crazy4aem
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
crazy4aem
Level 2

04-02-2019

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.

Replies

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile
Gaurav-Behl
MVP

04-02-2019

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?

Avatar

Avatar
Validate 1
Level 2
crazy4aem
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
crazy4aem
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
crazy4aem
Level 2

04-02-2019

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.

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile
Gaurav-Behl
MVP

04-02-2019

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 http://www.website.com", myExternalizedUrl ends up with the value "http://www.website.com/contextpath/my/page.html".