question

Upvote
Accepted
966 11 19 26

How do you send custom fields between 2 apps when side by side in Eikon?

For instance, in the same way the following 4 apps are linked and therefore show information about the same RIC,

how do you use the same mechanism so that 2 apps could send to each other not only a RIC but also price, yield, etc. The first app would be trading app and the second app would be a calculator for instance?

eikoneikon-app-studio
linkedapps.png (90.2 KiB)
icon clock
10 |1500

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

1 Answer

Upvote
Accepted
4.6k 26 7 22

You can do this in JET today through regular context passing that will go through color linking channels.

For example:

JET.contextChange([{RIC:"IBM.N",fields:{foo:"bar"}}]);

Will give you a ContextChange event with the following data payload:

[

	{  

		"IdentifierList": [  "RIC"  ],  

		"FieldList": [  "foo"  ],  

		"RIC": "IBM.N",  

		"fields": {  "foo": "bar"  }  

	}

]

So you can send along the yield, price, etc for each RIC. The receiving Apps just need to know about these additional fields.

icon clock
10 |1500

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

Click below to post an Idea Post Idea