question

Upvotes
Accepted
66 2 6 11

How to know the Template# is using by a chain ?

Hi Team,

As we know, there are 3 type of Template# is using by a chain

May I know how to know which Template# is using by a chain ?

Thanks

#technologyema-api
icon clock
10 |1500

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

Upvotes
Accepted
17.7k 82 39 63

Hi @gang.chen1

Sorry, misunderstood your question.

Regarding which template #, (80, 85, 32766), you will have to interrogate the refresh message to determine this. For example, I look for the "next" fields in the response to determine which one exists. That is, if "NEXT_LR" is defined, use template 80, "LONGNEXTLR", use template 85, and so on.

icon clock
10 |1500

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

Upvote
17.7k 82 39 63

Hi @gang.chen1

The template # used by a chain is based on the following logic:

if ( FID 1080 "PREF_DISP" is defined )
   templateID = refresh["PREF_DISP"]
else if ( FID 3263 "PREV_DISP" is defined )
   templateID = refresh["PREV_DISP"]
else
   templateID = refresh["RDNDISPLAY"]
icon clock
10 |1500

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

Hi Nick,

based on the link https://developers.refinitiv.com/en/article-catalog/article/simple-chain-objects-ema-part-1,we get 3 templates Template #80, Template #85, Template #32766. Different LINK fid with different Template#. we want to know which Template# is used by a Chain. like FX=CFXM, 0#C:

Thanks.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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