When using Qlik REST connector to load data from API sources that return JSON or XML response, sometimes a huge data model with many tables is returned although the response contains only a single table.
For example, the following message is parsed into 5 single-row tables instead of one table with 5 rows:
When saved to disk an loaded as a table Qlik does turns the data in a logic model
Totally agree that this should be supported. That said though, it is rare that I pull a set of data from a REST endpoint that doesn't need some hacking about with the RESIDENT loads to make it better - for instance turning two column dimension tables into ApplyMap statements.
Hi @stevedark, I'm not a stranger to creative solutions.
However everyone's life could be so much easier when the REST connector would support the same as dealing with the table file itself. So having to workaround it when you shouldn't have to feels quite silly.
The example was based on an old Knowledgebase article
I was dealing with this nested array. Tried to find a way to put the response in 1 field and use the From_Field from there, this would create a way to parse the response/field like a file. No success so far with this.
Totally agree that a workaround shouldn't be neccesary in this case, but I'm going to post another workaround anyway. 😁
With Qlik Automation you could probably set up a routine to pull the XML and drop it into a file repository that is linked to SaaS and then load from there as a flat file - which would give you the three tables correctly.
Would be great to see it implemented natively though, without the need for any extra step.
Thnx for the idea, indeed Qlik Automation could be a additional option .
This data example limits to a quite simple table, the real deal is an transactional dataset. Not sure how I would get a incremental load setup based on last transaction datetime or id received using Qlik Automation.
NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.