Skip to Content
0

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

Jan 31 at 08:53 AM

229

avatar image
Former Member

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

1.png (64.5 kB)
2.png (40.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Tammy Powlas
Jan 31 at 10:00 AM
0
Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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_I6jfYxpFknARN.c1bJM&APP_TO_LAUNCH=APP
0

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

Are you not using the BI Platform?

0
Former Member
Tammy Powlas

Hi Tammy.

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

Thanks.

Jing

0
Tammy Powlas
Feb 05 at 11:31 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Lakshmikanth Adharapurapu Feb 05 at 01:32 PM
0

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


openurl-0.png (185.9 kB)
openurl-1.png (18.9 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0
Lakshmikanth Adharapurapu Feb 05 at 01:34 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded