Content-Type In The Blobheader When Generating A Blob Url (Doc ID 1902652.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Goal

 Do Assets store the mimetype data in an attribute that can be accessed having loaded the asset so we can set the blobheader correctly?  E.g.

blobheader='<%= ics.GetVar("some attr with the mimetype") %>'

The tag reference for getblobURL /TagReference/JSP/render-getbloburl.html )has an example as follows, but it's unclear if mimetype is a reserved variable or a custom variable that would have to be generated somehow.

blobheader='<%=ics.GetVar("asset:mimetype")%>'

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