JET opens an app?

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.

Best Answer

  • Hey, try this:

    var data = {
    target:"popup",
    location:{
    x:0,
    y:0,
    width:600,
    height:400
    },
    name:"THOMSONREUTERS.WORLDCLOCK"
    }

    return JET.navigate(data);

Answers

  • 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 :) ).
  • 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?
  • 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.
  • 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".
  • 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.
  • Question move to eikon developer community
  • Thanks Evgenty. It works perfectly!
  • 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