Wondering what’s next for npm?Check out our public roadmap! »

    sense-on-off-switch

    0.3.5 • Public • Published

    On/Off Switch for Qlik Sense

    Set a variable in Qlik Sense to true/false using an on-off switch.


    Table of Contents

    (Table of contents generated by [verb])


    Screenshot

    Installation

    1. Download the latest version
    2. Qlik Sense Desktop
    • To install, copy all files in the .zip file to folder "C:\Users%USERNAME%\Documents\Qlik\Sense\Extensions\On-Off-Switch"

    Usage

    Drag and drop the visualization extension onto a sheet and define

    • the name of the variable
    • the layout

    Variable

    The variable will not be created by the extension, you have to create the variable in your data load script, e.g.

    SET vOnOffSwitch = 0; // false
    or 
    SET vOnOffSwitch = 1; // true

    Default values

    The following variable lower-cased values will be interpreted as false:

    • false
    • no
    • 0

    whereas

    • true
    • no
    • 1

    Values set

    If the user switches the on-off switch to false the variable value will be set to 0, otherwise to 1.

    Tested with

    Qlik Sense

    • Qlik Sense Server 2.0.1
    • Qlik Sense Desktop 2.0.1

    Browser

    • Chrome (latest version as of 2015-07-07)

    If you experience any issues with other versions of Qlik Sense and/or browsers, please create an issue and let me know.

    Related projects

    Some other Qlik Sense Visualization Extensions recently published:

    Contributing

    Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. The process for contributing is outlined below:

    1. Create a fork of the project
    2. Work on whatever bug or feature you wish
    3. Create a pull request (PR)

    I cannot guarantee that I will merge all PRs but I will evaluate them all.

    Author

    Stefan Walther

    License

    Copyright © 2015 Stefan Walther

    Released under the MIT license.


    This file was generated by verb-cli on August 12, 2015.

    Install

    npm i sense-on-off-switch

    DownloadsWeekly Downloads

    1

    Version

    0.3.5

    License

    MIT

    Last publish

    Collaborators

    • avatar