question

Upvotes
Accepted
31 8 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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
78.2k 246 52 72

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 512.0 KiB each and 1.0 MiB total.

Upvotes
966 11 21 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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