Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
prees959
Creator II
Creator II

REST Connection - Dynamic RestConnectorMasterTable

Hi,

I have run into a brick wall when looping through an API to retrieve results.

This is the generated script for the RestConnectorMasterTable :

RestConnectorMasterTable

RestConnectorMasterTable:

SQL SELECT

"__KEY_root",

(SELECT

"$(vID)",

"__FK_Results"

FROM "Results" FK "__FK_Results"),

(SELECT

"__KEY_Trial",

"__FK_Trial",

(SELECT

"103946",

"103960",

"27064",

"700039",

"18793",

"__FK_$(vID)"

FROM "$(vID)" FK "__FK_$(vID)")

FROM "Trial" PK "__KEY_Trial" FK "__FK_Trial")

FROM JSON (wrap on) "root" PK "__KEY_root";

Im succesfully passing vID to the API which is the Key ID field - but my problem is

"103946",

"103960",

"27064",

"700039",

"18793",

these value will change with each loop through the API.  Is there a dynamic way of fixing this by using Field1, Field2 etc??? which I can store in variables ??

Many thanks,

Phil

2 Replies
njhunjhun
Contributor
Contributor

Hi!

Did you find a solution to it. I am facing the same issue

Thanks

 

beam
Contributor II
Contributor II

I would love someone to answer this because honestly it feels like an issue with QLIK.