This is an example that shows how to retrieve the properties of a dimension of a Qlik Sense app. Please refer to this as just an example and not to a production-ready code.
-
Install Node.js if you haven't already (https://nodejs.org)
-
Download and unpack, or
git clone
this repository into your computer -
Open up a terminal window and
cd
into the source code folder -
Run
npm install
to install the project dependencies -
Replace engineHost at line 10 of main.js with your Qlik Sense Server hostname.
-
Replace enginePort at line 13 of main.js with your Qlik Sense Engine port.
-
Replace appId at line 18 of main.js with your Qlik app id.
-
Replace userDirectory at line 23 of main.js with your User Directory
-
Replace userId at line 26 of main.js with your UserId
-
Replace qId at line 58 of main.js with a dimension Id you can extract from getAllInfos() method
-
Download your Qlik Sense Server certificates in PEM format and place them into a new certs folder.
-
Run node main.js from a terminal window which should run your program