question

Upvotes
Accepted
50 3 8 4

Eikon Side by Side - how to send context to a specific color channel?

The developer guide indicated that the 'sendContext' command needs to be used to send context to an Eikon colour channel. It requires a 'targetInstanceId' to identify the channel. When color channels are linked, they do NOT return an instance Id. Presumably this should be a channel #, such as 0 for the red channel.

When a color channel # is passed as a 'targetInstanceId', data.isSuccess indicating that it worked, but nothing is changed in Eikon - objects set to that channel have NOT changed context.

side-by-side-apicolor-channel
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.

Hello @peter.vonbredow

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


Upvotes
Accepted
50 3 8 4

Once the channel is linked, you need to use the command 'contextChanged', and pass the 'channelId'.

However, although the documentation doesn't say so, only ONE colour channel can be linked at a given moment. You can attempt to join more than one channel, and get a successful result, but when you try to use it, it will not function correctly. According to SxS product development, it was never intended to allow more than one channel to be opened at the same time.

As a work-around, you can open one channel, send a command, and then close it.

Then you open a different channel, send a command, then close that channel.

In my experience, this works.

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
18.2k 21 13 21

Hi @peter.vonbredow

Please refer to this document.

Please go to getColorChannelList, joinColorChannel and unjoinColorChannel commands.

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.

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.