Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
praveen94
Contributor
Contributor

Custom Pop up message on Opening Qliksense App

HI All,

I am trying to create a pop up message on opening the QlikSense App. For example,if a particular KPI is above a limit,then a message should pop up when the user opens the app in the hub.

I have achieved this in Qlikview using Alerts Wizard  but I am not sure how to do this in Qliksense. Is there any inbuilt feature or custom written code I can use to build this feature. Thanks in advance for the help.

 

Labels (2)
11 Replies
ArnadoSandoval
Specialist II
Specialist II

Hi @anushahegde 

I am having a lot of fun writing this extension, I reach a point where I like the way it is turning out; these are the features you will find out:

  • It can display a sheet's object or plain popup message.
  • You have to define the Limit Expression or rule that will trigger the popup message.
  • You also provide the KPI expression (because somehow the extension needs to know that the KPI did not change so it will not trigger the popup message)
  • It record and return back to the application the Previous KPI and the time stamp of the last check!
  • There are two flavours of popup messages:  Basic and Modal
  • The Modal style allows you to define: Header-Body-Footer (Header-Context-Footer> sections
  • The Header and Footer messages are optional.
  • You can configure the foreground and background colours of the Header and Footer sections.
  • There is a final section set of parameters to enter the text of some default messages (the idea is when the extension is installed in non-English speaking countries, the user can customize these messages to their native language)
  • You will need to define local variables to save the Previous KPI and the Last Check.

The extension is still work in progress, but you are welcome to unit test it and write back to this topic any suggestion for improvements or glitches or bugs you could find; my intention is to publish this extension into GitHub and Qlik Branch once it is complete.

These are some screenshots:

03.v1.0.3-PopupMessage-01.jpg

This is the Modal style, it accept multi-line text but with some trickery, like the text shown above was entered with this expression:

='<p>&nbsp;</p><p>This is my custom message!</p><p>This is line two</p><p>&nbsp;</p>'

You enclose the text between the HTML tags <p> </p>, while the tag <p>&nbsp;</p> introduce a blank line.

03.v1.0.3-PopupMessage-02.jpg

The Extension has 4 blocks of parameters (feel free to suggest if they are well organized)

03.v1.0.3-PopupMessage-03.jpg

The Content Object could be empty in this version; there are two new fields here, the Previous KPI and Last Check variables, you have to define them either on the script or on the UI (I prefer this way).

03.v1.0.3-PopupMessage-04.jpg

This section define the text for the Header-Body-Footer and allow us to assign colours to them (except the body, which is always black letter on white background) I do not like the idea of allowing header-footer with different colours.

03.v1.0.3-PopupMessage-05.jpg

Here is where you chose the rendering style (basic or modal); and enable-disable the prompt, beside of assigning the popup message width and height (note, I am not happy with the basic form, It most likely will be replaced with a Modal without header-footer.

03.v1.0.3-PopupMessage-06.jpg

This section if for non-English speaking users consuming this extension, they can customize the extension's message to their language.

03.v1.0.3-PopupMessage-07.jpg

These text boxes show the information returned by the extension!

Please let me know how you feel the extension is performing; I haven't test multi-sheet applications with the extension on each sheet either.

Have fun playing around with the extension and your feedback is welcome and appreciated!

The extension is attached, please remove your current version, from the application you tried it as well as the extension folder.

Regards,

 

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
ArnadoSandoval
Specialist II
Specialist II

@anushahegde 

I attached the latest version of the PopupMessage extension, it fixed some issues rendering the messages! My unit tests uncover very few errors, so it is becoming very stable; this is version 1.0.4

Regards,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.