<?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 JSON key repeating in iteration in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-key-repeating-in-iteration/m-p/1932297#M10746</link>
    <description>&lt;P&gt;Hi. I'm trying to get data from json with the following script. Basically, this is about get tasks data and the tags associated to that tasks.&lt;/P&gt;
&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT &lt;BR /&gt;"__KEY_root",&lt;BR /&gt;(SELECT &lt;BR /&gt;"id",&lt;BR /&gt;"name",&lt;BR /&gt;"tagIds",&lt;BR /&gt;"__KEY_task",&lt;BR /&gt;"__FK_task",&lt;BR /&gt;(SELECT &lt;BR /&gt;"@Value",&lt;BR /&gt;"__FK_tagIds"&lt;BR /&gt;FROM "tagIds" FK "__FK_tagIds" ArrayValueAlias "@Value")&lt;/P&gt;
&lt;P&gt;FROM "task" PK "__KEY_task" FK "__FK_task")&lt;/P&gt;
&lt;P&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;/P&gt;
&lt;P&gt;WITH CONNECTION(&lt;BR /&gt;URL "$(url)",&lt;BR /&gt;QUERY "status" "ALL");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code is in an iteration loop, and every time the query runs, the field "__KEY_task" begins with value 1. I would need that value be unique. Does anybody know how can I make that value unique?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your attention.&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 09:08:26 GMT</pubDate>
    <dc:creator>darroyo_telcomu</dc:creator>
    <dc:date>2022-05-18T09:08:26Z</dc:date>
    <item>
      <title>JSON key repeating in iteration</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-key-repeating-in-iteration/m-p/1932297#M10746</link>
      <description>&lt;P&gt;Hi. I'm trying to get data from json with the following script. Basically, this is about get tasks data and the tags associated to that tasks.&lt;/P&gt;
&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT &lt;BR /&gt;"__KEY_root",&lt;BR /&gt;(SELECT &lt;BR /&gt;"id",&lt;BR /&gt;"name",&lt;BR /&gt;"tagIds",&lt;BR /&gt;"__KEY_task",&lt;BR /&gt;"__FK_task",&lt;BR /&gt;(SELECT &lt;BR /&gt;"@Value",&lt;BR /&gt;"__FK_tagIds"&lt;BR /&gt;FROM "tagIds" FK "__FK_tagIds" ArrayValueAlias "@Value")&lt;/P&gt;
&lt;P&gt;FROM "task" PK "__KEY_task" FK "__FK_task")&lt;/P&gt;
&lt;P&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;/P&gt;
&lt;P&gt;WITH CONNECTION(&lt;BR /&gt;URL "$(url)",&lt;BR /&gt;QUERY "status" "ALL");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code is in an iteration loop, and every time the query runs, the field "__KEY_task" begins with value 1. I would need that value be unique. Does anybody know how can I make that value unique?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your attention.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/JSON-key-repeating-in-iteration/m-p/1932297#M10746</guid>
      <dc:creator>darroyo_telcomu</dc:creator>
      <dc:date>2022-05-18T09:08:26Z</dc:date>
    </item>
  </channel>
</rss>

