Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Passing context values to tRestClient

So I am pulling data from an API. The API has some query parameters, one of which is page number. I want to loop through and increment the page number instead of copying the job N times.
I am able to load, update and save the context variable values. 
But I am not pass the value from context to Query parameters of tRestClient.
Any suggestions?
Regards,
MC
Labels (3)
2 Replies
Anonymous
Not applicable
Author

I believe I found the answer.
context.page will link the page parameter in the context to the Query Parameter.
Anonymous
Not applicable
Author

gabru420 wrote:
I believe I found the answer.
context.page will link the page parameter in the context to the Query Parameter.

Hi,
I have same problem can you tell me who to fix it.
I want to pull the data from api.I have to increase the page number and
 the job should run daily so i want to give date in the url itself(i.e today job should pick the yesterdays data) and i am using component tfileinputjson.

Thanks in advance