Recently, I worked with a Qlik Community member to help them understand the Qlik REST Connector with Qlik Sense and QlikView. At first it appeared simple, but then he soon realized he needed to understand a bit more about how the data came back (the response), what the pagination settings were (pages of data used to retrieve more rows) and finally how to link (join, associate) other attributes that came back from the results of multiple REST API endpoints / resources. We got it all working and the results were pleasing. Needless to say were able to perform text analytics from a barrage of Facebook comments. However, as I finalized all this in my head, I wanted to share what I've learned but in the simplest way possible. So I decided to find a very simple, publicly available RESTful service API in which I can demonstrate my findings easily. The below video presents those findings in a educational and entertaining way using the Star Wars API. Yes, that is correct, I said the Star Wars API. As a bonus, stick to the end of the video to see the Media Box Extension in action.
If using Qlik Sense Desktop please copy .qvf file to your C:\Users\<user profile>\Documents\Qlik\Sense\Apps and refresh Qlik Sense Desktop with F5. If using Qlik Sense Enterprise Server please import .qvf into your apps using the QMC - Qlik Management Console.
Disclaimer: Star Wars, the Star Wars logo, all names and pictures of Star Wars characters, vehicles and any other Star Wars related items are registered trademarks and/or copyrights of Lucasfilm Ltd., or their respective trademark and copyright holders.
Don't know what happened to your post, but I was able to play with the Game of Thrones (GoT) app a bit tonight and came up with some interesting insights on the death rates, characters, and houses from the data. Here's a screenshot:
Hi Joe - I think you are referring to this one - GoT app.qvf - created by another Michael - I added it to this reply so those may follow in case they are inquiring to what you are referencing.
I've been able to get this working in QlikSense but when trying in QlikView I can't seem to get it to work with pagination.
I've made the same selections as with the QS connector: Pagination type = Next URL, pagination path = root/next. Connection test works fine but when clicking select nothing happens. If I have no pagination then when clicking select the dialog box comes up and I'm able to select the fields and pull data. (only 10 rows)
Am I missing another step or setting for the QV version? (I'm using QV 12.30.2 and REST Connector v1.7)
Thanks!
UPDATE: I got it working. So if anyone has a similar issue here is how I did it. If you check the look in header box in the connector dialog box and add the connection string to the script, then when clicking SELECT in edit script the select dialog will appear. From there you can select your data and insert the script as expected. Then you just need to modify the connection string where it says "IsNextURLFieldPathHeader=1" to "IsNextURLFieldPathHeader=0". Seems that if you don't select that checkbox the dialog doesn't open. Thanks!
However, using Qlik SaaS edition on the step of pagination, I'm getting the connector error: HTTP response contains a redirect. Redirects are not allowed in this deployment.