Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Discussion Board for collaboration related to QlikView App Development.
Hi Phil,
As an example in QlikView, i'm using the REST Api from https://jsonplaceholder.typicode.com
The bolded $(i) iterates through the posts in the API, attached an example.
let vURL = 'https://jsonplaceholder.typicode.com/posts/';
for i = 1 to 3
CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=$(vURL)$(i);timeout=30;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;useWindowsAuthentication=false;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;XUserId=EMACMDB;XPassword=IQVUBcB;";
RestConnectorMasterTable:
SQL SELECT
"userId",
"id",
"title",
"body"
FROM JSON (wrap on) "root";
[root]:
LOAD [userId],
[id],
[title],
[body]
RESIDENT RestConnectorMasterTable;
DROP TABLE RestConnectorMasterTable;
next i;
Felipe.