<?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>article Reloads of dynamic JSON files via General QWC with asynchronous mode do not work as expected in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Reloads-of-dynamic-JSON-files-via-General-QWC-with-asynchronous/ta-p/1881663</link>
    <description>&lt;P&gt;Ssynchronous mode for reloads via Qlik Web Connectors (&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm#anchor-3" target="_blank" rel="noopener"&gt;Asynchronous requests&lt;/A&gt;) only works as expected for data resources (like for example JSON files) that have a static schema.&lt;/P&gt;
&lt;P&gt;You might not get the expected results if you reload from data resources with a dynamic structure like for example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;File1:

{ "firstName": "John",
"lastName": "Smith"}

File2:
{ "firstName": "Bob",
"middleName": "Mel"
"lastName": "Lee"}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case if you reload those 2 JSON files via General QWC with&amp;nbsp;asynchronous mode, most likely the "middleName" won't be reloaded in Qlik Sense because&lt;SPAN&gt;&amp;nbsp;it is using the first file (File1) to generate the table structure and then with subsequent tables it is pulling the same columns where they are found.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A feature request has been created in the community in order to improve this functionality:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Suggest-an-Idea/Add-to-the-asynchronous-mode-of-the-GeneralWebConnector-the/idi-p/1881625" target="_blank" rel="noopener"&gt;Add to the asynchronous mode of the GeneralWebConnector the ability to load data, the structure of which will be dynamically&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A workaround would be to use a "For/next loop" approach as described in here, where you would be able to reload all the column structures:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; &lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm#anchor-2" target="_blank" rel="noopener"&gt;Synchronous requests&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense all versions&lt;/LI&gt;
&lt;LI&gt;QlikView all versions&lt;/LI&gt;
&lt;LI&gt;QWC all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 09:31:41 GMT</pubDate>
    <dc:creator>Andreas_Giesbrecht</dc:creator>
    <dc:date>2022-01-21T09:31:41Z</dc:date>
    <item>
      <title>Reloads of dynamic JSON files via General QWC with asynchronous mode do not work as expected</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Reloads-of-dynamic-JSON-files-via-General-QWC-with-asynchronous/ta-p/1881663</link>
      <description>&lt;P&gt;Ssynchronous mode for reloads via Qlik Web Connectors (&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm#anchor-3" target="_blank" rel="noopener"&gt;Asynchronous requests&lt;/A&gt;) only works as expected for data resources (like for example JSON files) that have a static schema.&lt;/P&gt;
&lt;P&gt;You might not get the expected results if you reload from data resources with a dynamic structure like for example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;File1:

{ "firstName": "John",
"lastName": "Smith"}

File2:
{ "firstName": "Bob",
"middleName": "Mel"
"lastName": "Lee"}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case if you reload those 2 JSON files via General QWC with&amp;nbsp;asynchronous mode, most likely the "middleName" won't be reloaded in Qlik Sense because&lt;SPAN&gt;&amp;nbsp;it is using the first file (File1) to generate the table structure and then with subsequent tables it is pulling the same columns where they are found.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A feature request has been created in the community in order to improve this functionality:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Suggest-an-Idea/Add-to-the-asynchronous-mode-of-the-GeneralWebConnector-the/idi-p/1881625" target="_blank" rel="noopener"&gt;Add to the asynchronous mode of the GeneralWebConnector the ability to load data, the structure of which will be dynamically&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A workaround would be to use a "For/next loop" approach as described in here, where you would be able to reload all the column structures:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; &lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm#anchor-2" target="_blank" rel="noopener"&gt;Synchronous requests&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense all versions&lt;/LI&gt;
&lt;LI&gt;QlikView all versions&lt;/LI&gt;
&lt;LI&gt;QWC all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 09:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Reloads-of-dynamic-JSON-files-via-General-QWC-with-asynchronous/ta-p/1881663</guid>
      <dc:creator>Andreas_Giesbrecht</dc:creator>
      <dc:date>2022-01-21T09:31:41Z</dc:date>
    </item>
  </channel>
</rss>

