My Oracle Support Banner

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 OCTOBER 21, 2021

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

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
Symptoms
Cause
Solution
References


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