If you want to follow along with the session and try the examples, simply clone this repository and follow these steps:
- Run an
npm installto install the required dependencies - Rename the
cert.txtfile tocert.pem - Rename the
key.txtfile tokey.key - Run
node indexto start the project - Open a browser and navigate to
https://localhost:4000
NOTE: You'll be presented with a warning that the certificates are not from a trusted authority. Click on the "Advanced" options and then "Proceed anyway" to continue to the application.
Each of the examples is self contained in a designated folder. For the example to work, you will need to fill in certain parameters with those from your Qlik environment. The following is a list of parameters that you might see
- your integration id (A Qlik Web Integration Id)
- yourdomain (The hostname of your Qlik Cloud instance)
- appId (The Qlik Applicatio Id that you want to work with)
- sheetId (The Qlik Sheet Id that you want to work with)
- objectId (The Qlik Object Id that you want to work with)
- clientId (An OAuth Client Id)
NOTE: Any parameters that you modify in the index.js file in the root of the project, will require a restart of the application. Any other changes will simply require a browser refresh.