Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by tinmyo.win · Jul 25, 2019 at 12:39 PM · ETAviewc

Views not working with RDM_VIEW_TYPE_ELEMENT_NAME_LIST for Elektron-SDK1.1.0.linux

We are using Eta C API to implement views functionality using ACRONYM. TransportAPI_C_DevGuide.pdf document stated that RDM_VIEW_TYPE_ELEMENT_NAME_LIST can be used. However, I am seeing that all fields are returned. May I know why? Below are snippet of incomplete codes to get general idea of what's I am attemping to implement:

eEntry.dataType = RSSL_DT_UINT;

fdList = RDM_VIEW_TYPE_ELEMENT_NAME_LIST;

transport.rsslEncodeElementEntry(encodeIter, &eEntry, &fdList);

transport.rsslClearElementEntry(&eEntry); eEntry.name = RSSL_ENAME_VIEW_DATA; eEntry.dataType = RSSL_DT_ARRAY;

transport.rsslEncodeElementEntryInit(encodeIter, &eEntry, 0)

viewArray.primitiveType = RSSL_DT_ASCII_STRING;

viewArray.itemLength = 0;

transport.rsslEncodeArrayInit(encodeIter, &viewArray)

transport.rsslEncodeArrayEntry(encodeIter, NULL, &viewList[i])

transport.rsslEncodeArrayComplete(encodeIter, RSSL_TRUE)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by nick.zincone.1 · Jul 25, 2019 at 04:47 PM

Hi @tinmyo.win,

While the API does have a flag defined to allow the specification of named fields, I believe at this time the ADS only supports field IDs. You can refer to this answer for more details.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

ETA: request a view, but get an error: State: Open/Ok/Invalid view - text: "All is well"

Login StatusMsg in ETA MRN tutorial

Why SEQNUM is in order but QUOTIM_MS is not?

What could cause state to become RSSL_DATA_SUSPECT and RSSL_STREAM_CLOSE for valid symbols?

Elektron Transport API Java Application Got Disconnected Randomly

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges