<?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: REST API data - Select All Fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1745999#M57260</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/100273"&gt;@onmysi49&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have hit on a common problem with loading from REST connections, in that they are not SQL statements and so do not have the functionality for *.&lt;/P&gt;&lt;P&gt;Every REST endpoint is different, so there is no one-size-fits-all solution. The fact you have managed to pull the metadata is a good start.&lt;/P&gt;&lt;P&gt;If you load just the metadata what do you have in the datamodel? Is it a single table with each field of the table relating to a field in the REST endpoint?&lt;/P&gt;&lt;P&gt;If so, you will want to enumerate around using a FOR loop for each field using the&amp;nbsp;&lt;STRONG&gt;NoOfFields&lt;/STRONG&gt; function and the&amp;nbsp;&lt;STRONG&gt;FieldName&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;Using this loop you will be able to concatenate a string into a variable and then inject it into your REST command using dollar sign expansion.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 12:35:59 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2020-09-22T12:35:59Z</dc:date>
    <item>
      <title>REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1745489#M57205</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a connection to one of core system's REST API set up. Everything including pagination is working fine for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using WITH CONNECTION statement to adjust the URL in order to fetch data from different tables (entities) which REST API provides connection to.&lt;/P&gt;&lt;P&gt;Only issue here is, that it is really tricky for me to get all the field names which those entities include. My intention is to always fetch all fields from the table but SELECT * does not seem to work.&lt;/P&gt;&lt;P&gt;One workaround could be to obtain those field names from API using /describe method which API offers. This call returns field names which the particular table includes. But the issue here is that the result of this call in JSON looks e. g.:&lt;/P&gt;&lt;P&gt;"fields": {&lt;BR /&gt;"company_id": {&lt;BR /&gt;"type": "relation",&lt;BR /&gt;"required": true&lt;BR /&gt;},&lt;BR /&gt;"create_ts": {&lt;BR /&gt;"type": "datetime",&lt;BR /&gt;"required": false,&lt;BR /&gt;"default": "now"&lt;BR /&gt;},&lt;BR /&gt;"create_user": {&lt;BR /&gt;"type": "char",&lt;BR /&gt;"allow_blank": true,&lt;BR /&gt;"max_length": 30,&lt;BR /&gt;"required": false,&lt;BR /&gt;"default": ""&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Which means that each field name is returned as table name (where the table itself includes field's properties like type etc.). And I am not able to get those chidlren table names returned as values so they could be used as field names in the following call to API.&lt;/P&gt;&lt;P&gt;Does anyone know about any workaround/solution?&lt;BR /&gt;&lt;BR /&gt;I might have been missing something very simple as I am not so familiar with SQL.&lt;/P&gt;&lt;P&gt;Thanks a lot. Have a great day.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1745489#M57205</guid>
      <dc:creator>onmysi49</dc:creator>
      <dc:date>2024-11-16T18:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1745999#M57260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/100273"&gt;@onmysi49&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have hit on a common problem with loading from REST connections, in that they are not SQL statements and so do not have the functionality for *.&lt;/P&gt;&lt;P&gt;Every REST endpoint is different, so there is no one-size-fits-all solution. The fact you have managed to pull the metadata is a good start.&lt;/P&gt;&lt;P&gt;If you load just the metadata what do you have in the datamodel? Is it a single table with each field of the table relating to a field in the REST endpoint?&lt;/P&gt;&lt;P&gt;If so, you will want to enumerate around using a FOR loop for each field using the&amp;nbsp;&lt;STRONG&gt;NoOfFields&lt;/STRONG&gt; function and the&amp;nbsp;&lt;STRONG&gt;FieldName&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;Using this loop you will be able to concatenate a string into a variable and then inject it into your REST command using dollar sign expansion.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1745999#M57260</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-09-22T12:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746058#M57270</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;&lt;P&gt;thanks a lot for your reply and explanation!!!&lt;/P&gt;&lt;P&gt;Unfortunately it is not a single table with each field. Hopefully it is recognizable from my original post - actually each field in this metadata response has its each table with further details:&lt;/P&gt;&lt;P&gt;E.g.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;"company_id": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"type": "relation",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"required": true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I can access for example the "type" field or "required" field. As they are treated as fields in QS. But I cannot access the field names (company_id in this example) because they are treated as table names in this parent-child hierarchy model in QS. By any chance is there any way e.g. to extract all children table names from parent table? This would do the trick I guess.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also is there any document which would describe how exactly the REST calls &amp;amp; REST connector works "in the background" in QS. It would be interesting to know how exactly these SELECT queries are processed and call is sent to API etc. If you know where I am aiming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot. Your help is much appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 14:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746058#M57270</guid>
      <dc:creator>onmysi49</dc:creator>
      <dc:date>2020-09-22T14:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746070#M57272</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/100273"&gt;@onmysi49&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The REST response may have different levels, but the load into Qlik will most likely put it into a single table. You should then be able to parse that.&lt;/P&gt;&lt;P&gt;Load the meta data and then store the table to a CSV file, it's worth renaming the table as the default table name is bonkers. You don't need all of the RESIDENT loads, as you can just deal with the RAW response.&lt;/P&gt;&lt;P&gt;The code will be something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'MetaData';

tmpMetaData:
SQL SELECT
  "Field1"
  ... etc. ...
FROM JSON (wrap on) "root" PK "__KEY_root";

STORE tmpMetaData INTO [lib://MyLib/MetaDataRaw.csv] (txt);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have the CSV you will be able to see how it is structured and what column names it has.&lt;/P&gt;&lt;P&gt;When the REST connector has hierarchical data it usually has each level on it's own row of the same table, with values which are missing being null(). If the tables are in a colum you will want to do a LOAD DISTINCT from that column. You can then loop to build the string out.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tmpFields:
LOAD DISTINCT
  fields
RESIDENT tmpMetaData
WHERE not IsNull(fields);

DROP TABLE tmpMetaData;

let vLoadStatement = '';

for iField = 0 to NoOfRows('tmpFields') -1
  let vField = peek('fields', iField, 'tmpFields');

  let vLoadStatement = vLoadStatement &amp;amp; '"' &amp;amp; vField &amp;amp; '",';
next

DROP TABLE tmpFields;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the format of the tmpMetaData table is not as I guess then please post here how it looks and we can work out how to deal with it.&lt;/P&gt;&lt;P&gt;Regarding documentation &lt;A href="https://help.qlik.com/" target="_blank"&gt;https://help.qlik.com/&lt;/A&gt;&amp;nbsp;is probably the best place to start.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 14:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746070#M57272</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-09-22T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746678#M57341</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;&lt;P&gt;once again thank you very much for your reply!!!&lt;/P&gt;&lt;P&gt;Unfortunately I am still not able to come up with any working SELECT statement for metadata table. Hopefully I can clarify it a bit further.&lt;/P&gt;&lt;P&gt;The connection to the REST API which I use is set up for the URL which returns data from one of the tables (entities) from our WMS system. The table is called ib_shipment (so the URL ends with ib_shipment as the name of the entity). Utilizing the WITH CONNECTION statement I can change the URL in order to fetch other tables or also I can add /describe at the end of the URL to get metadata response for the particular entity.&lt;/P&gt;&lt;P&gt;But I have had no luck so far constructing the correct SELECT statement for the /describe URL.&lt;/P&gt;&lt;P&gt;I still guess that the issue comes from the structure of the JSON response where only data which I can fetch is the last values in the hieararchy (e.g. fields "type" or "required") - please see the structure of the response, the script and the resulting&amp;nbsp;data model.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Part of JSON response to /describe call
e.g. company_id is a field but I cannot fetch that name as it is treated as table name in QS

"fields": {
    "company_id": {
      "type": "relation",
      "required": true
    },
    "create_ts": {
      "type": "datetime",
      "required": false,
      "default": "now"
    },
    "create_user": {
      "type": "char",
      "allow_blank": true,
      "max_length": 30,
      "required": false,
      "default": ""
    },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;QS Script which fetches the last level of the hierarchy
In this example it fetches the "type" field from company_id table
I would like to fetch the value 'company_id' itself as it is the name of the field which would be used in the future call to REST API

SQL SELECT 
	"__KEY_root",
      (SELECT 
          "__KEY_fields",
          "__FK_fields",
          	(SELECT
          		"type"
                FROM "company_id" PK "__KEY_company_id" FK "__company_id")
      FROM "fields" PK "__KEY_fields" FK "__FK_fields")
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION(Url "REST API URL for the particular table/describe");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Resulting table of this script above:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="onmysi49_0-1600932937276.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41117iA71E02A7839E956F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="onmysi49_0-1600932937276.png" alt="onmysi49_0-1600932937276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I must mention that I am trying to achieve this only using WITH CONNECTION as I do not have the permission to create new connection in our QS environment. So I cannot utilize the "Select data to load" window.&lt;/P&gt;&lt;P&gt;Thanks a lot for any inputs. Your help is highly appreciated.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 07:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746678#M57341</guid>
      <dc:creator>onmysi49</dc:creator>
      <dc:date>2020-09-24T07:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746703#M57346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/100273"&gt;@onmysi49&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can now see your predicament! I would always use Select Data To Load on any given endpoint to just pull all of the possible columns and levels of the hierarchy to then work out what it is I actually need to load.&lt;/P&gt;&lt;P&gt;Can you install a copy of Sense Desktop and point this towards the endpoint? This will allow you to generate code against an API.&lt;/P&gt;&lt;P&gt;Even if you do that though, the fact that you can't send a wildcard to pull columns from a REST API endpoint is going to scupper you, as even with the metadata endpoint the column names are likely to only appear in columns, and therefore need to be known in advance.&lt;/P&gt;&lt;P&gt;Are there any other metadata endpoints in the API?&lt;/P&gt;&lt;P&gt;Given it is an API on one of your own systems, is it possible to get a developer to build you a new endpoint?&lt;/P&gt;&lt;P&gt;Sorry I don't have any easy solutions.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1746703#M57346</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-09-24T08:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1747928#M57503</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;&lt;P&gt;thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;I will install a copy of Qlik Sense Desktop and try to create the connection. I will let you know then.&lt;/P&gt;&lt;P&gt;Thanks a lot. Have a great day.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 05:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1747928#M57503</guid>
      <dc:creator>onmysi49</dc:creator>
      <dc:date>2020-09-29T05:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950085#M78290</link>
      <description>&lt;P&gt;In the case of the&amp;nbsp; Johns Hopkins time-series C19 data, they add a column every day&amp;nbsp; -&amp;nbsp; this was easy to pull in via desktop, but now as it's CSV, it has to go via a GET / REST for cloud.&lt;/P&gt;
&lt;P&gt;Is there&amp;nbsp; no way to load "all"&amp;nbsp; without specifying columns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 08:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950085#M78290</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2022-06-30T08:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950199#M78298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/180799"&gt;@110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The short answer is "no, there isn't".&lt;/P&gt;
&lt;P&gt;The slightly longer answer is that some REST APIs have endpoints which return the metadata for the other endpoints. This way it is possible to populate a variable with the load script that includes all fields and then inject that variable into the code.&lt;/P&gt;
&lt;P&gt;If you know the format of the new field (say it was Jun22, Jul22 etc.) then you could do the same thing where you build up a variable.&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950199#M78298</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-30T10:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950379#M78310</link>
      <description>&lt;P&gt;Thanks Steve ,&amp;nbsp; it was just reading a raw csv from github&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv" target="_blank"&gt;https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;then pivoting&amp;nbsp; out the dates from the column headers to row.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I guess if it's possible to parameterise the column name element for the pseudo-sql select part, that's something ,&amp;nbsp; very frustrating though!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 15:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950379#M78310</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2022-06-30T15:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950419#M78314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/180799"&gt;@110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using Sense client-managed or Desktop then you can just create a Web File connection (to any destination) and then use this code:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tmpCOVID:
CROSSTABLE (tmpDate, Cases, 4) LOAD
    *
FROM [lib://GenericWeb]
(URL IS "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv",
txt, codepage is 28591, embedded labels, delimiter is ',', msq);

COVID:
LOAD
    *,
    Year(Date) as Year,
    Month(Date) as [Month Name],
    Date(MonthStart(Date), 'MMM-YYYY') as Month
    ;
LOAD
    *,
    GeoMakePoint(Lat,Long) as MapPoint,
    Date(Date#(tmpDate, 'M/D/YY')) as Date
RESIDENT tmpCOVID;

DROP TABLE tmpCOVID;
DROP FIELD tmpDate;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Weirdly though, the Web File connector isn't available in Cloud.&lt;/P&gt;
&lt;P&gt;If you are doing the same in Cloud you need to do this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'Data:GenericGET';

let sLoad = '';

for iDate = MakeDate(2020,1,22) to (today()-1)
	let sLoad = sLoad &amp;amp; ',
    	"' &amp;amp; date(iDate, 'M/D/YY') &amp;amp; '"';
next

tmpCOVID:
CROSSTABLE (tmpDate, Cases, 4) LOAD
    *
    ;
SQL SELECT 
    "Province/State",
    "Country/Region",
    "Lat",
    "Long"
    $(sLoad)
FROM CSV
(header on, delimiter ",", quote """") "CSV_source" 
WITH CONNECTION
(
URL "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv"
);

COVID:
LOAD
    *,
    Year(Date) as Year,
    Month(Date) as [Month Name],
    Date(MonthStart(Date), 'MMM-YYYY') as Month
    ;
LOAD
    *,
    GeoMakePoint(Lat,Long) as MapPoint,
    Date(Date#(tmpDate, 'M/D/YY')) as Date
RESIDENT tmpCOVID;

DROP TABLE tmpCOVID;
DROP FIELD tmpDate;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, the connection can be to any valid REST endpoint with a GET connection, as we overwrite that with the WITH CONNECTION. I tend to use&amp;nbsp;&lt;A href="https://jsonplaceholder.typicode.com/posts" target="_blank"&gt;https://jsonplaceholder.typicode.com/posts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That works at the moment as every single day between the 22nd Jan 2020 and yesterday is present. If that wasn't the case then it would be a bit trickier (you could do an IF in the FOR loop to avoid some known dates).&lt;/P&gt;
&lt;P&gt;Another innovative approach that may work is this one from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147100"&gt;@IvanBozov&lt;/a&gt;&amp;nbsp;who describes auto-updating data in a Google Sheet and then loading from that:&lt;BR /&gt;&lt;A href="https://www.vizmind.eu/connecting-to-web-files-in-saas-editions-of-qlik-sense/" target="_blank"&gt;https://www.vizmind.eu/connecting-to-web-files-in-saas-editions-of-qlik-sense/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;Out of interest, is there any double counting that needs to be dealt with in these data (where there is Province and State level data). If not I may use these as a demo feed for my &lt;A href="https://www.quickintelligence.co.uk/instant-qlik-sense-app/" target="_self"&gt;Instant Sense App&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950419#M78314</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-30T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950425#M78315</link>
      <description>&lt;P&gt;oh wow, thanks Steve -&amp;nbsp; &amp;nbsp;That's really cool!&amp;nbsp; &amp;nbsp;Yeah,&amp;nbsp; I used to have desktop, which I didn't think I'd miss until now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've attached the&amp;nbsp; app +&amp;nbsp; the load script if it's of interest .&lt;BR /&gt;&lt;BR /&gt;The data connections didn't save&amp;nbsp; - but I believe they were just references to web files&amp;nbsp; -&amp;nbsp; which as I'm using cloud isn't possible to re-use hence the conundrum. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the double count / example&amp;nbsp; -&amp;nbsp; I don't think there's double counting, though I think in the load script I sum over country only and don't use the province data as half the time it wasn't consistent ( Some countries had it, some didn't )&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950425#M78315</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2022-06-30T16:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950435#M78316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/180799"&gt;@110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nice. I hope that the ability to build out the load script to automate the REST load will mean you can have it automatically refresh.&lt;/P&gt;
&lt;P&gt;It's a strange choice for them to give cumulative figures, but I see that you work that out in the script.&lt;/P&gt;
&lt;P&gt;I think that I tried doing something over this source before, but stopped as the region data was tripping me up. I didn't get to the point of deciding just to ditch the sub-country numbers!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950435#M78316</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-30T16:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950766#M78344</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/180799"&gt;@110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Over on another thread (&lt;A href="https://community.qlik.com/t5/Connectivity-Data-Prep/I-don-t-have-any-Web-Connector-on-QlikSense-SaaS/m-p/1950741" target="_self"&gt;here&lt;/A&gt;)&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41445"&gt;@jptneumann&lt;/a&gt;&amp;nbsp;has posted the excellent suggestion of using Qlik Application Automation to download the file. Once you have the CSV somewhere local you can just do the LOAD * from it to get all columns.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1950766#M78344</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-07-01T13:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: REST API data - Select All Fields</title>
      <link>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1951224#M78398</link>
      <description>&lt;P&gt;Wow alright, yeah that'd definitely save some work retooling load scripts etc.&amp;nbsp; &amp;nbsp; I'll have a look&amp;nbsp; - thanks again Steve, this thread will be a goldmine for people searching this same thing in the future&amp;nbsp; ( as more people switch to qlik cloud and suddenly find their loads not working &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/REST-API-data-Select-All-Fields/m-p/1951224#M78398</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2022-07-04T09:27:28Z</dc:date>
    </item>
  </channel>
</rss>

