Skip to Content
0

open url in same window in same panel in design studio

Feb 21, 2017 at 01:34 PM

951

avatar image
Former Member

Hi,

I have a requirement to open a child webi report from parent dashboard which is developed in design studio in same window.Hyperlinking is typically done in Design Studio using Application.OpenNewWindow(http:/........) command. When you have this the child dashboard opens up in New Window.

Struggling to use the below component. Can anyone please guide me on how to use the below component or any other work around. Any help is appreciated.

Design Studio SDK Open URL Inplace Component.

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

1 Answer

Best Answer
Vidhya V Feb 22, 2017 at 07:45 AM
0

Hi,

Using SDK OPENURLINPLACE Component we can achieve in design studio.

Download : This component is available on the community package, as in

https://blogs.sap.com/2014/12/10/scn-design-studio-sdk-development-community/

After Downloading into your Design studio Application.

Clicking on your child report (WEBI Report). Add this below code in your onlick event of your panel or image icon.

var vURL = "Open Document URL of your WEBI Report";
OPENURLINPLACE_1.setUrl(vURL);
OPENURLINPLACE_1.triggerExecution();

Finally it will be open in same window. And also Same code for back to Parent Dashboard.

Kindly let me know if you are facing any issue.

Regards,

Vidhya.C


Show 8 Share
10 |10000 characters needed characters left characters exceeded

Hi Vidya...Tx for the awnser but any idea to inherit the filters from parent dash board to child dash board...

Eg Parent dash board is the BO design studio report which consists of text boxes for eg cities Newyork, Newjersey as two regions represented as text boxes in the dash board, now we have chosen newyork region in the parent design studio and opened the child design studio report using openURLin place, now it has to open the URL with same new york region as filter...any idea?

BR,

Lakshmikanth

0

Yes, we can pass parameters in OpenURLInPlace Component. Please find the below Code,

var vURL = "/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=xxxxx"+"&XTerritory=" +DropDown_1.getSelectedValue();
0

Tx For your reply Vidya...Here we are not using drop downs....Just a text box....let me give the scenario.

In parent dash board i have two text boxes one for newyork and one for newjersey regions.

1.Newyork: If i click on newyork text box then DS_1.setfilter("REgion". "Newyork); happend, it setfilter on newyork region from the parent dash board.

2.Newjersey:If i click on newjersey text box then DS_1.setfilter("REgion". "Newjersey); happend, it setfilter on newjersey region from the parent dash board.

If i click on OpenURLInPlace then it should open child report with one of the above filter, but they are text boxes not dropdown or radio button...I have achieved the functionality for dropdowns and radio buttons but not for text box..any idea?


Br,

Lakshmikanth

0

What mean "If i click on OpenURLInPlace then it should open child report with one of the above filter" ?

First, there is no option to do any click events for OPenURLInPlace Compontent.

Second, if your funtionality is working fine for dropdown/radio buttons, it should be same for textbox also.

Regards,

Vidhya.C

0

Thanks Vidya, your undertsnading is correct. Text_*.onclick(); i have issues, unable to set it up.

Any thoughts?

BR,

Lakshmikanth

0

what issue? Please provide any screen shots.

0
Former Member

Hi,

Design Studio SDK Open URL Inplace Component download link is not working it is diverting to SAP portal and i searched everywhere but was unable to find it.

Can anyone guide me how i can download this sdk component?

Thanks

Harish

0

Hi Harish,

Please find the below URL,

https://blogs.sap.com/2014/12/10/scn-design-studio-sdk-development-community/

Regards,

Vidhya

0