<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Fast way to get all table and field names from an app in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153162#M20730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have all tables and their fields from an app, there is this piece of code from the Qlik Sense manual (2.2):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; //Iterate through the loaded tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; For t = 0 to NoOfTables() - 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; //Iterate through the fields of table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; For f = 1 to NoOfFields(TableName($(t)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Tables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableName($(t)) as Table,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableNumber(TableName($(t))) as TableNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NoOfRows(TableName($(t))) as TableRows,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName($(f),TableName($(t))) as Field, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldNumber(FieldName($(f),TableName($(t))),TableName($(t))) as FieldNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Next f&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Next t;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, this takes a very long time in my environment (&amp;gt; 1 hour) for approx. 1400 fields involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guess to make this happen faster? I'd love to have something like sysobjects/syscolumns master tables, that'd give me the info in a jiffy, but also I know I'm soo 90's with my RDBMS thinking:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 11:47:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-20T11:47:41Z</dc:date>
    <item>
      <title>Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153162#M20730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have all tables and their fields from an app, there is this piece of code from the Qlik Sense manual (2.2):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; //Iterate through the loaded tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; For t = 0 to NoOfTables() - 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; //Iterate through the fields of table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; For f = 1 to NoOfFields(TableName($(t)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Tables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableName($(t)) as Table,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableNumber(TableName($(t))) as TableNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NoOfRows(TableName($(t))) as TableRows,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName($(f),TableName($(t))) as Field, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldNumber(FieldName($(f),TableName($(t))),TableName($(t))) as FieldNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Next f&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Next t;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, this takes a very long time in my environment (&amp;gt; 1 hour) for approx. 1400 fields involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guess to make this happen faster? I'd love to have something like sysobjects/syscolumns master tables, that'd give me the info in a jiffy, but also I know I'm soo 90's with my RDBMS thinking:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 11:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153162#M20730</guid>
      <dc:creator />
      <dc:date>2016-06-20T11:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153163#M20731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 08:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153163#M20731</guid>
      <dc:creator />
      <dc:date>2016-06-22T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153164#M20732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couldn't you simply use the system-fields like: $Table, $Field and $Rows to get your wished output. There is within qlikview an own object called Structure-Table - I'm not sure if such an object is available in sense but if not you could create your own table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153164#M20732</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-22T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153165#M20733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you, it works, if I create a visualization and then export it as xlsx.&lt;/P&gt;&lt;P&gt;There is no way (in Qlik Sense) to get a hold on $Table and $Field directly, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// doesn't work!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;systable:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; LOAD *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; FROM $Table;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;STORE systable INTO 'systable.csv' (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not happy with this workaround, but that is another topic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F.ex. There are problems like these:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8470"&gt;System Fields filtering cannot be undone&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I filtered once, now I cannot unfilter: So I throw the app away and start again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153165#M20733</guid>
      <dc:creator />
      <dc:date>2016-06-22T14:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153166#M20734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you couldn't load these fields because there is no table which contains these kind of data - qlik stored the data within data- and symbol-tables, see: &lt;A href="https://community.qlik.com/qlik-blogpost/2848"&gt;Symbol Tables and Bit-Stuffed Pointers&lt;/A&gt; and the system-fields contain a certain aggregation from them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selections-issue is not quite clear for me - that they are not visible in the selection-panel is normal - the automatic system-fields and also the as system-fields declared fields (per HidePrefix) are per design not displayed. But if put all these fields on the sheet you could deselect them like in all other fields. And even if there is any selection on those fields it won't have an effect on your other selections and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 15:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/1153166#M20734</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-22T15:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to get all table and field names from an app</title>
      <link>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/2108566#M90538</link>
      <description>&lt;P&gt;Dear Arthur. Your solution is brilliant! It's better than anything else I have found. I tried it and it ran in under 1 minute for my data model of 109 tables and 3330 fields. I am running on a standard QV server. I can set up a QMC job to run at the weekend and produce a meta data QVD of all the the tables and columsn in my data model. Thank you so much! Regards. Amit&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 15:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fast-way-to-get-all-table-and-field-names-from-an-app/m-p/2108566#M90538</guid>
      <dc:creator>Amit</dc:creator>
      <dc:date>2023-08-22T15:54:18Z</dc:date>
    </item>
  </channel>
</rss>

