Search code examples
qliksense

How do I create an app on QlikSense using QRS API?


We just installed and configured Qlik Sense of a machine with all the necessary steps and everything is correct, because we tested using the QRS API about endpoint ( /about ). We are using Java so the QRS API it's the desired option

My question is the following : when a user makes an account into our application we want to create for him an app in Qlik Sense with his username using QRS API but the documentation isn't very clear about the endpoints and data we need to provide.

https://help.qlik.com/en-US/sense-developer/April2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Upload-App.htm Here it says that we need to provide a QVF file but we don't know where we should get that file

Can you please provide us with a step by step guide on how to achieve this as we are new to this platform ?


Solution

  • The Engine is responsible for the app creation. The Repository can only import already existing apps (qvf files)

    Most of the Engine API is websocket JSON API but Qlik is exposing small subset of the Engine API as REST as well

    In your case I think you can use POST /v1/apps method to create an app

    If you do prefer to use the websocket API you can have a look at Create an app example