My Oracle Support Banner

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

Last updated on MAY 19, 2021

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

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.