Qlik Community

Ask a Question

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Become an analytics expert with Qlik's new 15 week course: Applied Data Analytics using Qlik Sense. READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jp_golay
Partner
Partner

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
yko
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

yko
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?