Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OBI Presentation Variables Referencing scope.variables

Betty.caApr 17 2024

I am passing a Presentation Variable variable1 from a page level Prompt Prompt1 in Dashboard1 to another dashboard2 through action link. The Variable variable1 is referenced in dashboard2 using syntax @{variable1}

The question is the value of variable1 is null for the first time when open the dashboard2, but after refresh the dashboard1 or dashboard2, the value of variable1 appears correctly. Variable1 has value in Dashboard1 at first time open. The scope of Prompt1 is page. However if I set the scope of Prompt1 to Dashboard the issue is fixed.

From https://docs.oracle.com/en/cloud/saas/taleo-enterprise/23d/otbou/c-whatisthesyntaxforreferencingvariables.html#id20130116122004161 there is a scope.variables syntax.

“scope identifies the qualifiers for the variable. You must specify the scope when a variable is used at multiple levels (analyses, dashboard pages, and dashboards) and you want to access a specific value. (If you do not specify the scope, then the order of precedence is analyses, dashboard pages, and dashboards.)”

I tried @{dashboard.variables['variable1']} it didn't work.

How can I get the value of Dashboard1.variable1 in dashboard2 at the first time without setting the scope of Prompt1 to Dashboard?

Comments
Post Details
Added on Apr 17 2024
0 comments
200 views