question

Upvotes
Accepted
31 6 11 23

JET navigate reuse the new window

In JavaScript, I can open a webpage in a new window A and ask all subsequent clicks to reuse that window A. Is it possible to do it in JET.navigate() for Quote / QuoteList? Tried "name" and "target" parameter but no luck.
eikoneikon-app-studiojet
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
38.1k 71 35 53

No, it is not possible. When you navigate to Quote or QuoteList apps, it will always popup the app in a new window.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
966 11 19 26

You can reuse the window with the "target" parameter.

There are 4 type of target. 1. "popup" - This is a default value. A link will be openned in a new window. 2. "replace" - A link will be openned in the current window. 3. "tab" - A link will be openned in a new tab of the current window. 4. "activestacking" - A link will be opened in a new tab of the active stacking window.

so

JET.navigate({
	name:"Eikon Explorer App",
	url: "cpurl://apps.cp./apps/twittersentiment",
	target: "replace"})

Will open the page in the same window. This doesn't work for quote list as its not a web page.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea