cancel
Showing results for 
Search instead for 
Did you mean: 

url to display a pdf file

iguanna
Champ in-the-making
Champ in-the-making
hi all,

I'm trying to display the content of a file.pdf into a iframe on the browser. I've tried with:

http://localhost:90/alfresco/d/d/workspace/SpacesStore/5c5b992d-63b9-4018-903f-350305300ef9/file.pdf

but it doesn't work because the browser raises a popup to download the file and I want to display the content directly into my browser.
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
Have you tried to use the a parameter in this way?
http://localhost:90/alfresco/d/a/worksp%20...%209/file.pdf

In this way you should use the attach method as described here:
http://wiki.alfresco.com/wiki/URL_Addressability#DownloadContentServlet

Hope this helps.