Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
JET opens an app?
Andy Yung
Hi all, I see from JET sample page that JET can be used to open app like "twittersentiment" or internal app like "Calculator". I just wonder if this API is a generic one? I would like to open app like "World Clock" but I failed to do so after trying several names/CPURL. Any thoughts? Thanks.
Find more posts tagged with
eikon
jet
refinitiv-internal
Accepted answers
Zhenya Kovalyov
Hey, try this:
var data = {
target:"popup",
location:{
x:0,
y:0,
width:600,
height:400
},
name:"THOMSONREUTERS.WORLDCLOCK"
}
return JET.navigate(data);
All comments
julien.gony
There is an ultra easy way to call any reuters app but it is not linked to Jet (so don't know if it works in your context):
You can simply use the RACE link.
in cmd you can type: start reuters://REALTIME/verb=THOMSONREUTERS.WORLDCLOCK/context=""
in IE browser: reuters://REALTIME/verb=THOMSONREUTERS.WORLDCLOCK/context=""
Maybe you can use JET.navigate with the reuters url above.
I am just guessing (I never used jet
).
Andy Yung
Thanks! It works when I put the URL into JET.navigate like below:
JET.navigate({
url: 'reuters://REALTIME/verb=THOMSONREUTERS.WORLDCLOCK/context=""'
})
However, it opens an "Eikon Explorer" first in the background and then opens the clock. The Explorer seems to have some problems, it just redraw the clock on itself when I drag the clock over the Explorer window. The effect looks like the winning screen of Windows Solitaire game. Do you think I can kill the Explorer window automatically after launching the clock?
julien.gony
You'll need a JET specialist then, can't help you more on this subject , I have no idea how Jet is working. Sorry and good luck.
Zhenya Kovalyov
Hey, try this:
var data = {
target:"popup",
location:{
x:0,
y:0,
width:600,
height:400
},
name:"THOMSONREUTERS.WORLDCLOCK"
}
return JET.navigate(data);
nick.zincone
Evegeny, the works nicely. I think the main challenge here was the name field. Where do you get the list of valid names? For example, a Quote object uses: "Quote Object"; News Object uses: "News" and as you suggested, the World Clock uses: "THOMSONREUTERS.WORLDCLOCK".
Zhenya Kovalyov
I went to %LocalAppData%\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\ to see the list of installed apps.
I tried to run the Quote Object as "THOMSONREUTERS.EIKON.QUOTE", however, it didn't work, so, I guess we need to escalate this to the JET Dev Team.
nick.zincone
Thanks. I've just opened up a new question:
http://techoverflow.int.thomsonreuters.com/questions/3437/list-of-eikon-application-names-referenced-within-jets-navigation-api
Jose M Rivera
Question move to eikon developer community
Neil Shah
I get the same behaviour as you Andy when I use the URL. But if I use the Name, like in the sample above it works correctly
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act