Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • App Studio /
avatar image
REFINITIV
Question by Neil Shah · Nov 10, 2015 at 02:43 AM · jetapp_studioapp

How can we transfer data from A app to B app using JET in Eikon?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Christiaan Meihsl · Nov 10, 2015 at 04:50 AM

Re: your comment "... how can we pass a chunk of data via this method and ... read it in app B".

There are a number of examples of using JET.navigate to open different objects in the JET Demo App (you can find it under Core Functionality).

If this is a web app, then the best way to pass data/state to it would be over the URL you are calling to open it.

The most flexible way to pass additional data to the App, after it’s created, would probably be to use Pub/sub messaging on JET. The amount you can send over this is pretty unlimited, providing you use common sense chunking. You would just want to establish a private handshake between the 2 Apps once the second one was loaded. We are introducing the concept of targeting into the pub/sub APIs for JET – though this is still under development.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Neil Shah ♦♦ · Nov 11, 2015 at 08:50 AM 0
Share

Looks like we need to modify our current app to use Pub/sub messaging on JET. Before that, can we use Active Context like the below example?

JET.navigate({
                name: "Eikon Explorer App",
                entities: [
               { RIC: "MSFT.O" },
                { RIC: "C.N" },
                { RIC: "XON.N" },
                { RIC: "HPQ.N" }
            ],
                url: url
});
avatar image
REFINITIV
Christiaan Meihsl ♦♦ Neil Shah ♦♦ · Nov 11, 2015 at 09:33 AM 0
Share

Yes, you can sent it like this:

var data = {
          target: "popup",
          url: "http://localhost:8888/receiver.html",
          entities : [{
               RIC: "MSFT.O"
          }, {
               RIC: "C.N"
          }, {
               RIC: "XON.N"
          }, {
               RIC: "HPQ.N"
          }]
     };
JET.navigate(data);

And receive it like this:

JET.onContextChange(function(contextData) {
          console.log(contextData);
     })
avatar image
REFINITIV
Answer by Christiaan Meihsl · Nov 10, 2015 at 03:01 AM

You can use JET.navigate to open another app programmatically, with context.

Here is an example of the mechanism you will use, to open a chart in a popup window:

var data = { target: "popup",
   location: { x: 100, y: 100, width: 300, height: 300 },
   name: "Graph",
   entities: [{ "RIC": "GOOG.O"  }]};
JET.navigate(data);

And another one for a Web App/Views Explorer:

var data = { target: "popup",  // open a popup window
   location: { x: 100, y: 100, width: 300, height: 300 },
   url: "cpurl://views.cp./Explorer/GxHOME.aspx"};
JET.navigate(data);
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Neil Shah ♦♦ · Nov 10, 2015 at 03:11 AM 0
Share

Thanks Christiaan

Can you also let us know how can we pass a chunk of data via this method and also would like to know how to read it in app B.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
2 People are following this question.

Related Questions

JET navigate reuse the new window

How do I retrieve fundamental and reference data from the Data Cloud with JET?

What values can timeZone parameter take in JET timeseries plugin?

Error trying to run the App Studio .NET SDK.SampleApplication (Failed to connect to an IPC Port: The System cannot find the file specified)

Can app data for WPF apps be saved per instance of the app?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges