Oracle Analytics Cloud and Server

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

Repository Variable in web action link

Received Response
1
Views
8
Comments
Rank 3 - Community Apprentice

Hi,

I have repository variable initialized to one url. I want to use that variable in action link to navigate to web page. Variable is working fine when used in column formula.

I have used the variable as below but its not working. I have also used @{biServer.variables['SWN_profile_option_value']} but without success.

pastedImage_0.png

Do anybody know how to use the repository variable  in action link to  navigate to web page.

Thanks,

Milan

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Rank 2 - Community Beginner

    Why don't you just put it into a column and then use that column value?

  • Rank 3 - Community Apprentice

    Can I pass the column values if I does so?? I have to pass two column values for that action link.

  • Rank 8 - Analytics Strategist

    I think @Christian Berg point is that you could generate the URL in a column formula. For example:

    pastedImage_0.png

    and setting the data format accordingly as below:

    pastedImage_1.png

    to give:

    pastedImage_2.png

  • Rank 3 - Community Apprentice

    I can do that but that's not what I am looking at. We have used the web action link in multiple reports. The url which we are using now got changed and in future too it will change. So

    instead of changing the url in each report we used the repository variable so that we can change the url in just one place.

    {biServer.variables.my_repository_variable} . But its not working.

    Regards

  • Rank 8 - Analytics Strategist

    you say it's not working but you'll need to provide a bit more information than that. Do you get errors, OBIEE version, does the variable work in standalone? etc etc

  • Rank 3 - Community Apprentice

    I am not getting any error but its taking me to web page having same url name as repository variable name as shown below.

    pastedImage_0.png

    OBIEE version is 11.1.1.9.

    Yes variable works fine in standalone as i tested in column formula as  pastedImage_1.png.

    Regards

  • Rank 6 - Analytics Lead

    Joel Acha's solution works for me using this syntax:

    pastedImage_0.png

    Results look like this:

    pastedImage_1.pngIt takes me to the correct website.

  • Rank 6 - Analytics Lead

    That's '<a href=@{biServer.variables.variablename}>weblink</a>' without the red squiggles. I'm in 11.1.1.9.5.

Welcome!

It looks like you're new here. Sign in or register to get started.