OBIEE 11g Presentation Variable Not Properly Initialized In Dashboard Prompt (Doc ID 1679237.1)

Last updated on JANUARY 27, 2017

Applies to:

Business Intelligence Suite Enterprise Edition - Version 11.1.1.7.140225 and later
Information in this document applies to any platform.

Symptoms

In a prompt, you have a text field AAA with a Default selection, which is fed by a SQL Statement such as :

SELECT CASE

WHEN '@{var_sdiv}{}' <> '' then '@{var_sdiv}{}'
WHEN '@{var_div}{}' <> '' then '@{var_div}{}'

ELSE '@{biServer.variables['NQ_SESSION.USER_GROUP_NAME_FIRST']}{GROUP (GRP)}'

END

FROM "DIM_FOR_PROMPT"



Presentation variables 'var_sdiv' and 'var_div' are meant to store user defined selections in drop-down.

When a user opens the dashboard, they are not initialized.
Session variable USER_GROUP_NAME_FIRST is properly set to the expected value, so that text field AAA should be initialized with the content of USER_GROUP_NAME_FIRST.
Unfortunately it does not, meaning that '@{var_sdiv}{}' <> '' evaluates to TRUE, which is wrong, as '@{var_sdiv}' is empty while no selection has been made.

This used to work with OBIEE Version 11.1.1.6

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