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.onContextChange event never fires
stephen.c.ryan
Is it just me or does the JET.onContextChange event actually fire? I cannot see it fire in the Last Price Monitor sample app or a bare-bones app of my own.
Find more posts tagged with
javascript
eikon
jet
refinitiv-internal
Accepted answers
All comments
Zhenya Kovalyov
a quick question - are they in the same 'channel' in link mode?
Alex Putkov.1
Hi Steve,
I think you got confused between the app picking up active symbol when the app is instantiated vs. responding to active symbol change after the app has been instantiated.
Native Eikon apps including Quote and Chart pick up active symbol when user creates a new instance of the app. But the app won't respond to the change of active symbol unless the app is linked on one of the channels. Similarly for onContextChange event to be raised for your app, the instance of your app needs to be linked on one of the channels. And to have your app instantiated with the current active symbol you don't need onContextChange event. Instead you need to use getActiveSymbol method to read the active symbol and use it in your app.
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