question

Upvotes
Accepted
1 0 1 1

Not possible to change the URL of a tab anymore

I have the following case: I have a main page which triggers an opening of a new tab containing a loading indicator. Then when the main page receives a response, it is expected that the tab is updated with a new content.

Is it possible to achieve this?

This used to be possible when using:

JET.navigate({
    name: "APP ID",
    title: "Simple title",
    url: "..",
    target: "tab"
})

Executing the snippet two times with different urls used to modify the initially opened tab. Right now it seems like it opens two tabs. This behavior was first noticed at the beginning of 2020.

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.

Hello @elena.hristova,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

The expected behavior of JET.navigate with "target": "tab" is that it opens a new tab every time the method is executed. Personally I do not recall having seen it behaving any different. But if it ever behaved like you describe (changing the URL in a previously opened tab), that would have been a bug, which must have been later fixed then.
JET does not provide a method to change URL in a tab previously opened using JET.navigate. App Studio partners are advised that App Studio apps should follow single page app design pattern. If the app is available in Eikon Web, you also need to ensure the app can function in an iFrame.

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.