Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hapatel79
Partner - Contributor
Partner - Contributor

qlik sense .net sdk, applying Select values not working

I first collect values of a field in a list ( fv ).

List fv = new List();

p = new List { new NxPage { Height = 100, Width = 1 } };

dataPages = destApp1.GetAppField(selectedField.Field.ToString()).GetData(p);

foreach (var dataPage in dataPages)

{

var matrix = dataPage.Matrix;

foreach (var cellRows in matrix)

{

foreach (var cellRow in cellRows)

{

fv.Add(cellRow.Text);

And, then when use SelectValues method to apply the first, it selects different item in the field when I look in the app.

ivals = new List<int> { 0,1 }; // this 0 or [0,1] or 2 when applied its different selected in app compared to fv.

destApp1.GetAppField(selectedField.Field).SelectValues(ivals, false);

is this qlik api bug?

1 Reply
hapatel79
Partner - Contributor
Partner - Contributor
Author

IEnumerable<NxDataPage> gives the elementNumber that solves the problem