Hi,
We are migrating our IDN pages contribution from Excel RtContribute() to your WebSocket API.
Our excel formulas look like:
=RtContribute("TRC", "PAGENAME", 317, 123.456789, "SCOPE:SERVER POS:7 FORMAT:6:4")
This will contribute the value '123.456789' to the page 'PAGENAME' at the row 3 (FID: 317 = ROW80_3) and at the position '7' with format '6:4'.
We want to translate this formula to a WebSocket API message. It would roughly look like this:
{ "Ack": true, "ID": 1, "Key": { "Name": "PAGENAME", "Service": "DDS_TRCE" }, "Message": { "Fields": { "ROW80_3": 123.456789, }, "ID": 0, "Type": "Update" }, "PostID": 1, "Type": "Post" }
However we have 2 questions:
- How to translate 'POS:7' into the above message?
- Is there a way to translate 'FORMAT:6:4' or shall we simply make sure the value in the message has the format we want?
Thank you