cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use script APPLICATION.openNewWindow(....) to open other document in the current window ?

former_member241445
Participant
0 Kudos

Dear expert.

I need to open B document through click a bottom in A document.I can realize it use follow code :

APPLICATION.openNewWindow(url);

But I found it will skip out current BI platform,and open a new window.like follow picture 1.png.How can I action like picture 2.png?

Waiting for your help.

Thanks.

Jing

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member276213
Active Participant
0 Kudos

This SDK is compatiable for Lumira designer as well atleast when i tested 🙂

former_member276213
Active Participant
0 Kudos

Hi Please find the below steps,

1.Down load SDK ' org.scn.community.sdk.package_stable'

2.Add the URL for the SDK compoenent OPENURLINPLACE_1 (refer screen shot 1)

3.Write OPENURLINPLACE_1.triggerExecution(); in the onselect where you want to click this will open the design studio report in the same browser

BR,

Lakshmikanth

former_member241445
Participant
0 Kudos

Hey.

Thanks for your reply.

Yes,it work fine in the same window.However, it can't like webi open in the same window ,but in different tab sheet,and we can see two tab in the same window.

At least,it will not skip to other window tab.

Thanks very much.

Jing

TammyPowlas
Active Contributor
0 Kudos
TammyPowlas
Active Contributor
0 Kudos

Hi - are you using Lumira Desktop? If so, why not use OpenDoc? See https://blogs.sap.com/2016/04/11/enhancement-of-lumira-document-to-support-full-part-and-promptsvari...

former_member241445
Participant
0 Kudos

Hi Tammy.

I've tried as blog,but which will still skip out BI platform.Follow is my url,I've tried use it in button onclick:APPLICATION.openNewWindow.and Link component url.But it still failure.Am I wrong?

Waiting for your help.

Thanks.

Jing

Open Document in New or Same window:
If the User embeds the URL in the Hyperlink and wants to open the document using Open document URL in the same or new window then the below parameter is used.
&swindow=new or &swindow=same
http://server:port/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&sWindow=Same&iDocID=AWc_I6...
TammyPowlas
Active Contributor
0 Kudos

Hi Jing - would you please confirm which tool you are using? Lumira Desktop, Designer or Discovery?

Are you not using the BI Platform?

former_member241445
Participant
0 Kudos

Hi Tammy.

We are use Lumira Designer.And we are using BI platform.

Thanks.

Jing