Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everybody,
Is there a way to replace a loading script of an existing app via REST API in Qlik Cloud? There is the method app.setscript() via einigma.js, but unfortunately we cannot find a way directly in the REST API.
https://qlik.dev/apis/rest/apps
Thank you
To add to Alex's comments, on the product roadmap side, we are currently working on new endpoints for the apps REST API you've linked above, which we are hoping to release early in Q1 2023.
This will provide you the ability to retrieve the latest load script for an app, and post a new load script back to the app using REST & OAuth.
@prismacalota just a heads up that we today released the full set of endpoints for accessing and updating Qlik Sense app load scripts: https://qlik.dev/apis/rest/apps
Hi @prismacalota, you cannot change reload script with REST API, you have to use Engine API. What is the use case? Why do you need to use REST API and not Engine API (or enigma.js) ?
Hello @alex_colombo ,
Communication with Qlik Cloud takes place directly from Microsoft Business Central (BC) SaaS. A websocket connection cannot be established here. Only direct REST requests via the API with OAuth are possible.
Is there an expansion planned here? Or is there another possibility?
Thank you.
To add to Alex's comments, on the product roadmap side, we are currently working on new endpoints for the apps REST API you've linked above, which we are hoping to release early in Q1 2023.
This will provide you the ability to retrieve the latest load script for an app, and post a new load script back to the app using REST & OAuth.
@prismacalota just a heads up that we today released the full set of endpoints for accessing and updating Qlik Sense app load scripts: https://qlik.dev/apis/rest/apps
Nice to see that there are now these no endpoints.
It would be nice if we could get an additional paramter in the json request body to specify that the script should be validated before it's saved.
I would expect an 4xx errror response for cases that we are sending an invalid script.
And the response should include the validation erros in a structured form.
Currently we were using the enigma.js wrapper for the API that included the methods
Thanks for the feedback @Kilian!
I'll take a note myself, and do please consider opening an ideation topic if you haven't already to allow others to 👍 the suggestion!
Hi, I want to know do we have same endpoints for Qlik sense APIs??
There is no REST API to do this in Qlik Sense Enterprise Client-managed. If you're using the client managed software you should use the engine APIs to make updates in the app.
Hi @jainisha,
Not sure if there is an endpoint for that on Qlik Sense APIs however, if you are a .NET Developer you can make use of the QlikSense.NET SDK. There are lots of methods there to manipulate anything on Qlik Sense Apps. This is the method to set the Load Script: SetScript Method | Qlik Sense for developers Help