Skip to Content
0

open document URL using in Design studio for webi reports

Aug 23, 2017 at 06:18 AM

130

avatar image
Former Member

Hi team ,

I am facing some issue while using “URL function” in design studio. Actually we are using URL Function in “On Click” of a panel and code I am using is-

//Open Enquires

var V_DAY = DAILY_DS_1.getVariableValueExt("ZCALDAY");

var v_CA = DAILY_DS_1.getVariableValueExt("ZAUTH_COM_AREA");

var V_VERTICAL = DAILY_DS_1.getVariableValueExt("ZAUTH_VERTICAL");

var D = Convert.replaceAll(DS_1.getVariableValueExt("ZAUTH_VERTICAL")," ","");

var F = Convert.replaceAll(V_VERTICAL, " ", "");

if (V_VERTICAL == ""){

APPLICATION.openNewWindow("/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AWoSq6RsPDNNn2MDToyAjVc&lsSEnter+Command+Area:="+v_CA+"&lsSEnter+Date:="+V_DAY+"&lsMEnter+Vertical:=LMD;HD;BUS");}

else{

APPLICATION.openNewWindow("/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AWoSq6RsPDNNn2MDToyAjVc&lsSEnter+Command+Area:="+v_CA+"&lsSEnter+Date:="+V_DAY+"&lsMEnter+Vertical:="+F);}

Now when I run the Design Studio artifact and click on the panel the following error comes.--

while trying to invoke the method java.lang.string.equals(java.lang.object) of a null object loaded from a local variable at slot 7 (Error:INF)

But after clicking on OK, if run the query separately the query works.

I have also checked the :

2365917 - "Null object loaded from a local variable" error prompts when Webi report's OpenDocument URL is generated with wrong date format.

But it didn’t helped.

Please help me out.

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

0 Answers