Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
pmcgovern-ecn
Contributor
Contributor

How to get alternate values from Field getData() and getMoreData()?

Hello,

I am using the Field functions getData() and getMoreData() in an extension to retrieve all the values present in a field. The API returns all the values, but their qState is only either 'S' or 'X'. The alternatve values appear with qState 'X', not 'A' as I would have expected.

How do I set things up so that alternative values are properly indicated in the response from getMoreData()?

If I create a list for the field with createList() and set qShowAlternatives to 'true', the values are returned with qState set properly. I would like to use getMoreData() instead of managing the list myself, but can't figure out how to make it recognize the show alternative flag.

 

 

Labels (1)
0 Replies