├── README.md ├── ReloadButton.js ├── ReloadButton.qext ├── images ├── branch_top.png ├── demo.png ├── error.png ├── gif-load.gif └── reload_btn.png ├── lib └── css │ └── reload_btn.css └── wbfolder.wbl /README.md: -------------------------------------------------------------------------------- 1 | Reload Button for Qlik Sense 2 | 3 | ## Updated 4 | 2015/10/01 5 | - Added "Partial Reload" function 6 | - UI was renewed 7 | 8 | 2017/05/11 9 | - Fixed to be able to execute reloads on QS3.2 SR3 10 | ==== 11 | The **Reload Button for Qlik Sense** is an extension which allows you to execute road script by pressing a button placed on a Qlik Sense sheet. 12 | 13 | ## Demo 14 | 15 | ![Alt text](./images/demo.png) 16 | 17 | ## Install 18 | 1. Qlik Sense Desktop 19 | Unzip the downloaded zip file into "C:\Users\%USERNAME%\Documents\Qlik\Sense\Extensions\Qlik-Sense-Reload-Button" folder. 20 | 21 | 2. Qlik Sense Server 22 | Please refer to the following instruction for importing an extension: 23 | 24 | [Import Extension]( http://help.qlik.com/sense/en-US/online/#../Subsystems/ManagementConsole/Content/QMC_Resources_Extensions_AddingExtensions.htm?Highlight=add extension "Import Extension") 25 | 26 | Following procedure is experimental: 27 | When you reload a **published** app (not an app in "My work"), the following error occurs. This is because the default security rules of Qlik Sense Server does not allow users to update published apps. 28 | 29 | ![Alt text](./images/error.png) 30 | 31 | You can allow published apps to be reloaded and saved by adding a security rule on QMC. For example, following security rule allows any users to execute reload button on published apps in "Everyone" stream. 32 | 33 | |Name|Setting| 34 | |---|---| 35 | |Resource filter|App*| 36 | |Conditions|(((resource.resourcetype="App" and resource.stream.name="Everyone") or (resource.resourcetype="App.Object" and resource.app.stream.name="Everyone")))| 37 | |Context|Both in hub and QMC| 38 | |Actions|Update| 39 | 40 | **Please be are that it can cause unexpected results, so apply the setting at your own risk!** 41 | 42 | ## Licence 43 | The software is provided "AS IS" without warranty of any kind. This project is licensed under the terms of the MIT license. 44 | 45 | ## Author 46 | Masaki Hamano 47 | -------------------------------------------------------------------------------- /ReloadButton.js: -------------------------------------------------------------------------------- 1 | define(["jquery", "qlik", "text!./lib/css/reload_btn.css"], function($, qlik, cssContent) { 2 | $("