Expand my Community achievements bar.

SOLVED

Get the URL of an PDF that is published in Dynamic Media

Avatar

Level 2

Currently we like to achieve the following with our AEM and Dynamic Media:

 

We upload a PDF into the AEM, it is getting synced to DynamicMedia(DM) and published.

In the DM-Classic Windows App I can get the AssetFile-URL that opens the PDF in the browser if opened.

 

But from AEM perspective we like to achieve that our users are able to get the same URL or any kind of view for that PDF.

Currently we check the renditions view of the assets for the dynamic renditions, we got a image-preset but if you follow that URL you only get page-1 of that PDF as image. But we would like to get the pdf or at least all pages as image of that document.

 

Any ideas how to achieve that?

Do I achieve that by configuration of the AEM / Dynamic Media, it it a special image-preset or viewer that I need?

Its important that the url is accessable by a AEM-User.

1 Accepted Solution

Avatar

Correct answer by
Employee

Great , unfortunately the URL is not available to authors ootb. You'll have to build some custom logic to generate this URL for auhors to copy as per URL structure. Hope this helps .

View solution in original post

7 Replies

Avatar

Employee

Can you try and explore pdf viewer core  component. https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/pdf-...

 

For author preview - Adobe recently introduced multipage document preview support (for pdf / ppt/docx etc) for authors (definitely on AEM cloud) but not sure about on premise/AMS hosted AEM.

 

Do you want this preview on author or publisher ? Which AEM version are you using ?

 

 

Avatar

Level 2

We got the AEM licensed only for Assets. The version is the current version 6.5.14.0.

It is on-premise so unfortunatly not the AEM-Cloud Version.

 

We only got an AEM-Author that is connected to Dynamic Media, DM is our connection to the end-users for all Assets we are providing. So we need that DynamicMedia-URL of an PDF a content-author uploaded and published.

 

Currently what confuses me most is the fact that the AEM is providing Viewers for that Asset, but when I use one of them I can only see page 1 of that PDF and there should be 2 pages, e.g. http://s7g10.scene7.com/s7viewers/html5/BasicZoomViewer.html?asset=aldinorddev/sample&config=aldinor...

 

A viewer would be perfectly fine for this requirement, but I am not getting all the pages.

Avatar

Employee

Can you try url : <dm-host>/is/content/<dm-company>/assetid

asset id : is name of pdf usually

also try n use ecatalogViewer

Avatar

Level 2

For example: http://s7g10.scene7.com/is/content/aldinorddev/testland/pdf/test%2Dpdf%2D8.pdf

 

I this is working perfectly fine. The original PDF is getting synced and published in DM.

But I got this link by using the DM-Classic-App or I need to follow the URL-Structure you've mentioned.

 

But from the perspective of an AEM-Assets User, that is uploading a PDF and publishes this asset afterwards.

How is that person getting the PDF-URL out of the box from the AEM ??

Avatar

Correct answer by
Employee

Great , unfortunately the URL is not available to authors ootb. You'll have to build some custom logic to generate this URL for auhors to copy as per URL structure. Hope this helps .

Avatar

Level 2

@S3bastian  Did you implemented the URL for pdf documents? If yes could you please help me with the reference!