cancel
Showing results for 
Search instead for 
Did you mean: 

open url in same window in same panel in design studio

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Vidhya
Active Participant
0 Kudos

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

former_member276213
Active Participant
0 Kudos

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

Vidhya
Active Participant
0 Kudos

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();
former_member276213
Active Participant
0 Kudos

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

Vidhya
Active Participant
0 Kudos

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

former_member276213
Active Participant
0 Kudos

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

Any thoughts?

BR,

Lakshmikanth

Vidhya
Active Participant
0 Kudos

what issue? Please provide any screen shots.

Former Member
0 Kudos

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

Vidhya
Active Participant
0 Kudos

Hi Harish,

Please find the below URL,

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

Regards,

Vidhya

Answers (0)