URL Pattern - Evaluated Pattern Is //null When Esing getFileName() Function on a BINARY Field of a Basic Asset Type (Doc ID 1947940.1)

Last updated on JULY 07, 2017

Applies to:

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

Symptoms

If you have a basic asset type with a BINARY field configured, e.g.:

and you create a URL Pattern for the BINARY field (<STORAGE TYPE="BINARY"/>) of that basic asset type as follows:

Using "Blob" radio button.
Field: Document File (Is Downloadable = checked)
Pattern: ${f:getFileName(document)}

in Evaluate URL Pattern section, when an asset is selected, the Evaluated Pattern shows //null

Cause

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