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
Question by ichim_raluca · Oct 12, 2016 at 05:25 AM · refreshweb-sdkrm

Datagrid data does not refresh in the same time as Quote pluggin data

Hi,

I am using App Studio web sdk, and I am extracting some data both by using the Quote pluggin and the datagrid (for the TR fields). However, I noticed there is a delay in displaying the data that comes from datagrid and I would like to refresh before displaying anything on the screen, so that all data is present before loding. Is there a way to do that in JET?

Second, I would like to open Eikon messanger from a link in my code. Could you please tell me what is the code for making RM pop up? I looked on JET examples, opening an app, but I don't know what is the URL for the RM. Please let me know if you need further details.

Many thanks in advance, Raluca

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.

7 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by philip.perrault · Oct 12, 2016 at 04:08 PM

The quote plug-in gets a stream in real-time and usually caches its data so will almost always be faster than querying the Datagrid for historical information. The Datagrid might not have the data you requested in cache and might have to wait for the server component to retrieve it from storage.

You will have to manage storing real-time quotes in some kind of hash table yourself in your quote.onUpdate() function until you know you have received all the Datagrid information first.

Comment

People who like this

0 Show 0 · 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
Answer by ichim_raluca · Oct 13, 2016 at 06:05 AM

Hi,

Thank you, I will try to implement your suggestion and let you know if it worked.

Regarding second question, is there a way to launch Reuters messanger from code ? For example, I want to have a link that will launch the RM. Is that possible?

Many thanks again fro your help,

Raluca

Comment

People who like this

0 Show 0 · 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
Answer by philip.perrault · Oct 13, 2016 at 11:43 AM

I am not sure if EM is an app. If it is, you can use JET.navigate function to launch it. For example:

JET.navigate({

url: “EM url”

})

Will get back to you one way or the other if there is a URL for EM / RM

Comment

People who like this

0 Show 0 · 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
Answer by philip.perrault · Oct 13, 2016 at 12:17 PM

Try this in your code:

JET.navigate({url:"reuters://Messenger/verb=Show"});
Comment

People who like this

0 Show 0 · 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
Answer by ichim_raluca · Oct 14, 2016 at 03:20 AM

Hi Philip,

Thanks for your answer. I tried the code above and in fact it opened a black Eikon explorer window. I am not sure if is right :)

I managed to correlate the diplay time of real time data with data coming from datagrid, so please consider the matter closed. I just set a timeout and seems to work, at least for the moment.

Thank you for your help.

Comment

People who like this

0 Show 0 · 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
Answer by Alex Putkov. · Oct 14, 2016 at 01:57 PM

I previously posted a suggestion here, which upon closer look proved to produce strongly undesired behavior. It launches a separate instance of Eikon Messenger from the one user may already be running, which will no doubt confuse the user. Similarly, if Eikon Messenger is already launched using the method I described, and the user clicks on Messenger icon in Eikon Toolbar, this will launch a separate instance of Eikon Messenger. Eikon Messenger is designed to have only one instance of the app running. Each new instance triggers a sign-in process and will sign off previously launched instance.

So, sorry, but this suggestion is not in fact a solution at all. I'm afraid I cannot think of any good way of launching Eikon Messenger from JET.

Hi @ichim_raluca,

To launch Eikon Messenger you can do the following.

1. Using JET Settings plug-in read the value of COMMON.MESSENGER.URL setting. E.g.

var settingData = {
			providerName: "Configuration",
			settingName: "COMMON.MESSENGER.URL"
		};
JET.Settings.read(LaunchEikonMessenger, settingData);

2. Using Eikon Messenger URL requested in the previous step launch Eikon Messenger app.

function LaunchEikonMessenger(value) {
	JET.navigate({url:value})
}
Comment
ichim_raluca

People who like this

1 Show 0 · 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
Answer by ichim_raluca · Oct 17, 2016 at 07:55 AM

Hi,

Thank you very much for your help. Above code worked.

Raluca

Comment

People who like this

0 Show 0 · 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.

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 >
7 People are following this question.

Related Questions

How do you reset emerald-grid?

  • 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
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • 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