Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

mrchmchr
New Contributor II

Get fields with table information

Hi everyone,

I am wondering if it is possible to get additional information to the available fields in an app.

With .getList('FieldList',...) I can retrieve all available fields in an app. However, I just need all fields of certain tables within this app. Is there a way to identify the table a field comes from?

Glad for any advice on this.

Thanks,

Marco

[Update]

To clarify my problem, I need a solution applicable in javascript within a mashup.

2 Replies
ruanhaese
Contributor

Re: Get fields with table information

Hi

I used GetTablesAndKeys to get the header list of a table.

It returns a TableRecord and in that TableRecord is a list of FieldInTableData

FieldInTableData.Name is the name of the header

prat1507
Valued Contributor

Re: Get fields with table information

You can use 2 listboxes where you can populate $Table and $Field.

Regards

Pratyush

Community Browser