If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
Hi All,
Am new to qlik sense using .net sdk , i want get field Num(value) based on field name in c#. How to achieve this , please help me
Thanks
Prasanna A
There's a GetData method that takes a page set as well:
There's an example on how to use it available here:
So if you only want the first two entries you would do something like this:
var page = new [] {new NxPage { Height = 2}};
var data = appField.ListObjectPager.GetData(page);
Typically one would the the AppField class for that. Once you have an instance of that class you can either use it's GetData method or traverse it's data through the ListObjectPager property. I would have gone with the second option, in which case it would look something like this:
var appField = app.GetAppField("myfield");
var data = appField.ListObjectPager.GetData();
You can find more information about AppField class here:
And more information about how to work with the pager class can be found here:
Thanks for Replay Oystein Kolsrud,
In my case,
here am passing "Month" as field name , data will return 12 month like (Jan, Feb, Mar,.... Dec) , Its possible to pass specific months like (Jan,Feb) only 2 months instead of 12 months.
Thanks
There's a GetData method that takes a page set as well:
There's an example on how to use it available here:
So if you only want the first two entries you would do something like this:
var page = new [] {new NxPage { Height = 2}};
var data = appField.ListObjectPager.GetData(page);
Thank you ... you saved my time lot.