Option to download Documents/Blobs rendered by Vanity URL (Doc ID 2094484.1)

Last updated on APRIL 12, 2016

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

Looking at the Blob Link Builder example from the Developer documentation it is possible to generate a link to a blob, for example to put something like http://localhost:7003/sites/vca/doc/test.pdf on a page html and link to http://localhost:7003/sites/Satellite?blobcol=urldata&blobheadername1=Content-Type&blobheadername2=Cache-Control&blobheadervalue1=application%2Fpdf&blobheadervalue2=no-cache&blobkey=id&blobnocache=true&blobtable=MungoBlobs&blobwhere=1447202156897&ssbinary=true which downloads the document.

How do I make sure that when a vanity url like http://localhost:7003/sites/vca/doc/test.pdf is hit from browser, it downloads a document?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms