Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to reference a page scope presentation variable defined in another dashboard

Received Response
41
Views
4
Comments
Betty.ca
Betty.ca Rank 3 - Community Apprentice

Hi,

I created a variable V1 in column prompt P1 in dashboard D1. The scope of P1 is set to page.

I referenced this V1 in dashboard D2 using @{V1}{default value} in a textbox T2. I used same syntax to reference V1 in a textbox T1 dashboard D1.

The text of T1 shows correct value of V1. However when I click on the action link in D1 to open D2, T2 shows the default value of V1. Only when I select another value in prompt P1, both T1 and T2 shows the value of V1 I selected.

This happens only for the first time I open D2. If I set the scope of P1 to Dashboard, both T1 and T2 shows the same value even I open D2 for the first time.

I want to know if I can reference V1 in T2 by using some syntax like @{D1.V1}. It looks like the V1 is not assigned value in D2 when open D2 for the first time.

Answers

  • Hi

    What happens if you navigate to D2 directly without action link? Does it show the correct value of V1?

    Seems like you set scope to page for prompt yet you are trying to reference this prompt value in another dashboard, if so why can't you set scope to dashboard?

    thanks

    gayathri

  • Betty.ca
    Betty.ca Rank 3 - Community Apprentice

    Thank you, Gayathri.

    How can I navigate to D2 without action link?

    Is it possible I set scope to page for prompt yet try to reference this prompt value in another dashboard?

    We won't set scope to dashboard just in case other dashboards with same prompt are affected.

  • Which product are you using? I know there was an Er in onprem obiee where the the Scope set for the Prompt (in the Dashboard) was not relevant when navigating via an Action link . Old KM doc: Action Link's scope in OBIEE 11g (Doc ID 1539155.1)
    When i meant navigate to D2, i mean manually selecting dashboard 2.

  • Betty.ca
    Betty.ca Rank 3 - Community Apprentice

    D2 is a hidden dashboard. We are using OAS.