Expand my Community achievements bar.

SOLVED

How to get a link for a published asset

Avatar

Level 1

We have other websites that want to use assets hosted in AEM on their sites.  Our content authors have added these assets to AEM and published, but we are unsure how to get the URL for the asset to give to the developers of the other application.  What we've given people so far is a very manual process:

It appears that if you have Dynamic Media running, then there's a handy-dandy "URL" button that appears and will give you the URL for the published asset (see: Linking URLs to your Web Application).  However, we are not using Dynamic Media.  We can't be the first people that want to use assets hosted in the AEM within other web applications.  Does anyone know of an easy way to get the published URL for an asset that doesn't involve manually manipulating the URL?

Thanks much!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Most assets located in the DAM are used in AEM components. An author typically uses a component dialog - such as a PathFinder - shown here to select an asset.

Path.png

This is a typical usage of Assets and use in AEM components.

Now when you want to use assets located in the AEM DAM in other websites - non AEM sites - you have to reference the full URL.

Assume that the server is named MyServer and you want to get content/dam/Sooners/soon.jpg  -- therefore

MyServer:4503/content/dam/Sooners/soon.jpg

AEM does not have a tool that returns a list of URLs that corresponds to assets.

Using AEM APIS, you can develop a custom AEM service that would query the DAM for assets and build a list and return as JSON, or even get the list and put it into an excel spreadsheet. This is how i would think ppl that want URLS would solve this requirement.

Hope this helps...

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Most assets located in the DAM are used in AEM components. An author typically uses a component dialog - such as a PathFinder - shown here to select an asset.

Path.png

This is a typical usage of Assets and use in AEM components.

Now when you want to use assets located in the AEM DAM in other websites - non AEM sites - you have to reference the full URL.

Assume that the server is named MyServer and you want to get content/dam/Sooners/soon.jpg  -- therefore

MyServer:4503/content/dam/Sooners/soon.jpg

AEM does not have a tool that returns a list of URLs that corresponds to assets.

Using AEM APIS, you can develop a custom AEM service that would query the DAM for assets and build a list and return as JSON, or even get the list and put it into an excel spreadsheet. This is how i would think ppl that want URLS would solve this requirement.

Hope this helps...