Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jp_golay
Partner - Creator II
Partner - Creator II

Get list of tables / fields

Hi,

I need to retrieve the liste of tables / fields like in the sense TableViewer but il a list form from the .NET SDK

Thanks for your help

JP

ebiexperts CTO
With WIP, Control everything!
Qlik Sense, QlikView and NPrinting Source control, Versioning and Deployment, Agile Lifecycle Management
4 Replies
Øystein_Kolsrud
Employee
Employee

You can use this method to get a list of the fields from an app:

AppExtensions.GetFieldList Method

Is that what you are looking for? To print the name of all fields, you could write like this:

var fieldList = app.GetFieldList();

fieldList.Items.Select(field => field.Name).ToList().ForEach(Console.WriteLine);

amien
Specialist
Specialist

ykoThis works fine .. but do you know how i can get the Table name in which the field is in?


If someone else know this and wants to answer, that is fine too ofcourse

Øystein_Kolsrud
Employee
Employee

I think this method is what you might be what you you want to use: App.GetTablesAndKeys Method

amien
Specialist
Specialist

Thanks for your reply.

but what do i fill in with the needed parameters? I mean "Defines the size of the window that is used to display the results" . .. what would i need this?