<?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 Dynamic HTML table selection anchor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652343#M1070870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView, so I apologize if the question has already been answered - I just haven't been able to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a QlikView app that sits primarily on SharePoint 2013, and I want to figure out a way to dynamically determine which HTML table I have to extract list data from.&amp;nbsp; I have an ODBC connection, but I've been loading most of the data via the web file wizard.&amp;nbsp; What I am extracting always resides on the third to last table resident in the table selection box.&amp;nbsp; I would like to streamline the application upkeep process as the number of potential tables will be slowly changing, and I don't want to have to rewire it every time a list object gets added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found any recognizable (to me) reference lists which I can index or peek into, and I was hoping someone out there might have some more insight than me into the mechanics of the process so that I can establish a dynamic table anchor.&amp;nbsp; (page two of web file load wizard)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="web file table selection.PNG" class="jive-image" src="/legacyfs/online/65232_web file table selection.PNG" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 15:20:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-26T15:20:11Z</dc:date>
    <item>
      <title>Dynamic HTML table selection anchor</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652343#M1070870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView, so I apologize if the question has already been answered - I just haven't been able to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a QlikView app that sits primarily on SharePoint 2013, and I want to figure out a way to dynamically determine which HTML table I have to extract list data from.&amp;nbsp; I have an ODBC connection, but I've been loading most of the data via the web file wizard.&amp;nbsp; What I am extracting always resides on the third to last table resident in the table selection box.&amp;nbsp; I would like to streamline the application upkeep process as the number of potential tables will be slowly changing, and I don't want to have to rewire it every time a list object gets added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found any recognizable (to me) reference lists which I can index or peek into, and I was hoping someone out there might have some more insight than me into the mechanics of the process so that I can establish a dynamic table anchor.&amp;nbsp; (page two of web file load wizard)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="web file table selection.PNG" class="jive-image" src="/legacyfs/online/65232_web file table selection.PNG" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652343#M1070870</guid>
      <dc:creator />
      <dc:date>2014-08-26T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic HTML table selection anchor</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652344#M1070872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To clarify, I understand that I could loop through the potential tables, but as the target table maintains a static position related to the final field value, I thought that an alternative method might be more efficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 13:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652344#M1070872</guid>
      <dc:creator />
      <dc:date>2014-08-27T13:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic HTML table selection anchor</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652345#M1070873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem. I need to load last table in webpage. Did you manage to resolve this in other way than looping through all table and wait for "table not found" error in errormode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652345#M1070873</guid>
      <dc:creator>nivellen11</dc:creator>
      <dc:date>2015-09-23T09:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic HTML table selection anchor</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652346#M1070874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I probably could have accomplished this more dynamically with a FOR loop but here's my approach.&amp;nbsp; Changing the ErrorMode is a critical step since many of the tables in this load script don't actually exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14738699435669412" jivemacro_uid="_14738699435669412" modifiedtitle="true"&gt;
&lt;P&gt;SET ErrorMode = 0;//temporarily disable error handling (some of the below tables don't exist)&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;temp15: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @15);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;temp16: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @16);&lt;/P&gt;
&lt;P&gt;temp17: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @17);&lt;/P&gt;
&lt;P&gt;temp18: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @18);&lt;/P&gt;
&lt;P&gt;temp19: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @19);&lt;/P&gt;
&lt;P&gt;temp20: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @20);&lt;/P&gt;
&lt;P&gt;temp21: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @21);&lt;/P&gt;
&lt;P&gt;temp22: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @22);&lt;/P&gt;
&lt;P&gt;temp23: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @23);&lt;/P&gt;
&lt;P&gt;temp24: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @24);&lt;/P&gt;
&lt;P&gt;temp25: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @25);&lt;/P&gt;
&lt;P&gt;temp26: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @26);&lt;/P&gt;
&lt;P&gt;temp27: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @27);&lt;/P&gt;
&lt;P&gt;temp28: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @28);&lt;/P&gt;
&lt;P&gt;temp29: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @29);&lt;/P&gt;
&lt;P&gt;temp30: NoConcatenate LOAD * FROM DH_wrt.html (html, codepage is 1252, embedded labels, table is @30);&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;//Checks if each table exists, then loads third prior table as WebTable&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;IF NoOfRows('temp30')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp27;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp29')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp26;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp28')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp25;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp27')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp24;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp26')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp23;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp25')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp22;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp24')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp21;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp23')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp20;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp22')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp19;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp21')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp18;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp20')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp17;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp19')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp16;&lt;/P&gt;
&lt;P&gt;ELSEIF NoOfRows('temp18')&amp;lt;&amp;gt;NULL THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WebTable: NoConcatenate LOAD * Resident temp15;&lt;/P&gt;
&lt;P&gt;ENDIF&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;//Drop all the temp tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp15;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp16;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp17;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp18;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp19;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp20;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp21;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp22;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp23;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp24;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp25;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp26;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp27;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp28;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp29;&lt;/P&gt;
&lt;P&gt;DROP TABLE temp30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SET ErrorMode = 1;//turn error handling back on for the rest of your script&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 17:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-HTML-table-selection-anchor/m-p/652346#M1070874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-14T17:49:42Z</dc:date>
    </item>
  </channel>
</rss>

