My Oracle Support Banner

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

Last updated on MARCH 27, 2023

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/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/pdf&blobheadervalue2=no-cache&blobkey=id&blobnocache=true&blobtable=MungoBlobs&blobwhere=<id_value>&ssbinary=true which downloads the document.

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

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.