Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
van_nanney
Partner - Contributor
Partner - Contributor

.Net SDK Field missing GetData

I have installed the Qlik SDK from NuGet v16.3.0 -  I have been following though some examples to get values from fields:

 

var fields = application.GetAppFields();

foreach (var field in fields)

{

textSB.AppendLine("Field Name: '" + field.Name + "'");

var p = new List<NxPage> { new NxPage { Height = 5, Width = 1 } };

var dataPages = field.GetData(p);

}

 

However   "Field" class defined does not have a GetData method - what am i missing.  

van_nanney_0-1680781229962.png

 

How do I get all the values of the field via the SDK ???

 

Labels (1)
1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

You're probably looking at an outdated example. Where did you find it? That method was removed in version v16.0.1 of the SDK:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/ReleaseNote...

REMOVED: Removed deprecated promoted methods associated with property structure content of engine objects. Deprecated since v13.18.0.

And the "GetAppFields" method returns instances of "IAppField" not "Field". You'll find the documentation here:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/Qlik.Sense....

If you simply want to retrieve all field values, then you can use this method:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/Qlik.Sense....

View solution in original post

1 Reply
Øystein_Kolsrud
Employee
Employee

You're probably looking at an outdated example. Where did you find it? That method was removed in version v16.0.1 of the SDK:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/ReleaseNote...

REMOVED: Removed deprecated promoted methods associated with property structure content of engine objects. Deprecated since v13.18.0.

And the "GetAppFields" method returns instances of "IAppField" not "Field". You'll find the documentation here:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/Qlik.Sense....

If you simply want to retrieve all field values, then you can use this method:

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/NetSDKAPIref/Content/Qlik.Sense....