<?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 Re: Dynamically Load Items in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015366#M83889</link>
    <description>&lt;P&gt;Hi Rachel,&lt;/P&gt;
&lt;P&gt;No error, but it just doesn't load anything from this table where I apply the logic above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I put a specific ID instead of the variable in the filter, it works with no issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what might be done wrongly in the above logic?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 11:40:35 GMT</pubDate>
    <dc:creator>SilviyaK</dc:creator>
    <dc:date>2022-12-12T11:40:35Z</dc:date>
    <item>
      <title>Dynamically Load Items</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2013862#M83799</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following script:&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'REST_sample_connection';&lt;/P&gt;
&lt;P&gt;Let j=0;&lt;/P&gt;
&lt;P&gt;for j = 0 to 10&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Let vID = peek('ID', $(j), 'Data_Details');&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT (I removed the details here as they are not important)&lt;BR /&gt;.&amp;nbsp;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;BR /&gt;WITH CONNECTION (&lt;BR /&gt;URL "&lt;A href="https://api-sample.com/sample/sample" target="_blank"&gt;https://api-sample.com/sample/sample&lt;/A&gt;",&lt;BR /&gt;&lt;STRONG&gt;QUERY "filter" "detail.id eq '$(vID)'",&lt;/STRONG&gt;&lt;BR /&gt;HTTPHEADER "Authorization" "Bearer $(vToken)"&lt;BR /&gt;);&lt;/P&gt;
&lt;P&gt;next j;&lt;/P&gt;
&lt;P&gt;DROP TABLE RestConnectorMasterTable;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Data_Details&amp;nbsp;&lt;/STRONG&gt;is a table I load before that, which has a field with 10 IDs. What I want to do in the script above is to perform the above load with a filter on each of these 10 IDs.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any ideas why my script doesn't work?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 15:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2013862#M83799</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-07T15:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Load Items</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015182#M83876</link>
      <description>&lt;P&gt;What is the error that you get when you try to load the script?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 01:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015182#M83876</guid>
      <dc:creator>rachel_delany</dc:creator>
      <dc:date>2022-12-12T01:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Load Items</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015366#M83889</link>
      <description>&lt;P&gt;Hi Rachel,&lt;/P&gt;
&lt;P&gt;No error, but it just doesn't load anything from this table where I apply the logic above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I put a specific ID instead of the variable in the filter, it works with no issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what might be done wrongly in the above logic?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 11:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015366#M83889</guid>
      <dc:creator>SilviyaK</dc:creator>
      <dc:date>2022-12-12T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Load Items</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015674#M83906</link>
      <description>&lt;P&gt;The issue might be that the filter needs a number rather than a string, try this instead:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;QUERY "filter" "detail.id eq $(vID)",&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 22:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-Load-Items/m-p/2015674#M83906</guid>
      <dc:creator>rachel_delany</dc:creator>
      <dc:date>2022-12-12T22:11:11Z</dc:date>
    </item>
  </channel>
</rss>

