Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

jp_golay
Contributor

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

4 Replies
Employee
Employee

Re: Get list of tables / fields

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
Valued Contributor

Re: Get list of tables / fields

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

Employee
Employee

Re: Get list of tables / fields

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

amien
Valued Contributor

Re: Get list of tables / fields

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?

Community Browser