Skip to Content
0

Passing values from DS application to a webi report via URL when using Universe, NOT BEX.

Jan 26, 2017 at 04:32 PM

125

avatar image
Former Member

Hi experts,

I have built one Design Studio application and one webi application, using universe as datasource.

The DS application has a drop down, filtering the dimension "Enhet".

The webi application has a prompt named "Enhet".

I can not get the syntax to work, opening the webi report from DS using a link, passing the value in that link.

I have tried (OnClick command scripts):

------------------------------------------

var var_end = DROPDOWN_1.getSelectedText();

var newUrl ="http://xxx.xxx.se:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AX0deZfEFH1GqjHVQ4aYjGQ&&sRefresh=Y&Enhet=" + var_end;

APPLICATION.openNewWindow(newUrl);

---------------------------------------------

I have also tried:

--------------------------------------------

var var_end = DROPDOWN_1.getSelectedText();

APPLICATION.openNewWindow( http://xxx.xxx.se:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AX0deZfEFH1GqjHVQ4aYjGQ&Enhet=var_end);

-----------------------------------------------

The webi application does open, and if I use the first example the prompt is shown but not populated value for "Enhet". The second example opens the webi application but no prompt is shown and no value is selected for "Enhet".

Please advise!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Vidhya V Jan 27, 2017 at 07:33 AM
1
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 27, 2017 at 09:19 AM
0

Thank you Vidhya,

The steps you attatched is exactly the guide I tried to follow, but it is not clear if the source used in the guide is BEX or Universe and if it even makes any different... Never the less the prompt is NOT populated with any value... could you please look att my attached code, maybe I am missing something after all?

Regards,
Sofie

Share
10 |10000 characters needed characters left characters exceeded