An AngularJS-v1.7 Qlik Sense mashup, compatible with Qlik Sense June 2018 release and up.
- Make sure you have Node.js -- version 10.16.0
- Install git(https://git-scm.com/download/win)
- Install gulp cli(https://gulpjs.com/) -
npm install gulp-cli -g
- Run
npm install -g bower
- Prepare your Qlik Sense server for local mashup development, go to your QMC:
- Virtual Proxies section
- Select 'Advanced' from the right sidebar
- Scroll to the "Additional response headers" and add "*" or "http://localhost:3000"
- Whitelist your machine name
- Clone project to your local machine, unzip and navigate to the folder through the command line.
- Run
npm install
- Run
bower install
- Run
gulp build-dev
- This will package your code. - Run
gulp watch
- This will package your code and start your local web server automatically. With every change you'll make to the files, the browser will refresh and you'll have clear visibility to the changes. (Without zipping and installing through the QMC). - When you're done, hit Ctrl + 'C' and approve with 'Y' to close the process.
Once you are done updating the files and are ready to deploy, this command will prepare your code and zip it so you could install the new package through the QMC:
- Run
gulp build
- Open Qlik Management Console.
- Select Extensions on the QMC start page or from the Start S drop-down menu to display the overview.
- Click "+ Import" in the top right corner.
- Select the Zip file to import.
- Browse to your project and locate
.BUILDZIP\package.zip
and select the zipped package. - Click Open in the File explorer window.
- Click Import.