Skip to main content
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 (3)
11 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi There is no default functionality in Qlik Sense.

You should look at the add on product i.e Qlik Alerting to generate Alerts.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
praveen94
Contributor
Contributor
Author

Thanks Kaushik. I did look at the functionaity and as per my understanding, it uses email to alert the users. My requirement is to show a pop up message in the browser once the qliksense app is opened. Say like 'Welcome User xx . Daily  metric is yy value'  based on the written expression.I saw a post where the developer has used custom extension to create pop up messages on charts on clicking the icon. I am looking for the same but at the app overview level

ArnadoSandoval
Specialist II
Specialist II

Hi @praveen94 

Have you consider the Default Bookmark functionality, there was a lot of comments at this Topic 

hth

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

@praveen94 

I just authored an extension: PopupMessage that could do what your want to achieve, you are the first person taking a look at it, so your feedback is highly appreciated, the extension is not fully develop yet as I explain below:

  • You have two define some properties in the extension's Message Settings, like: Content Object, Limit Expression, Width, Hight (a typo to be fixed with Height), Show Prompt and Prompt Label.
  •  You have to press the message "Press Me" in order to get the pop-up message; we do not have a clear set of rule to automatically show the popup message.

The attached zip file contains this extension, just install it in your environment following the known procedure.

The object to be displayed in the popup message is one and only one available on the current Sheet, you need its ID or source location, you get that information by right-click on the object and select the </> Embed Chart option (see screenshot); at the bottom of the next screen you will find the Iframe web code, with a big green Copy button, just copy the Iframe web code and paste that code in your favorite text editor.

01.Object-URL-01.jpg

Copy the IFrame code

01.Object-URL-02.jpg

Now, with the extension "Popup Message" already on the sheet, paste that long string (we need the string after the src=, excluding the double quotes) into its Content Object parameter, which is the first one of the parameters. Next you need to enter the Limit Expression, which is any valid expression, the logic applying the Limit Expression is not included in the extension, but it is getting the result, so it will not be a big drama to implement.

01.Object-URL-04.jpg

This is how the popup looks like:

01.Object-URL-05.jpg

There are few things I need to continue the implementation of this extension, I am listing them below:

  • What are the rules to popup the message? The Limit Condition will be true for a while, and eachtime somebody visit the Sheet the message will popup, that will be annoying! What are your thoughts
  • I am using Qlik Sense Desktop, so I do not have access to security resources to drive the presentation of the popup message.
  • Suggestions are welcome.

I will post an update in two days, I am also creating its GitHub page!

Hope this helps,

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

@praveen94 

I enhanced the Extension a little bit more, the spelling mistake is gone, it is now automatically popping up the message which is annoying as we do not have any rule to stop the message from popping! there are a couple of things found while fine tuning the extension!

  • The Limit Expression must be an expression, it should return true or false; or 1 (for true) or 0 (for false), it could be something like = If(<expression>, 1, 0) or =<expression> 
  • The Show Prompt should be unchecked for the automatic message to popup.

Attached is the latest version!

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

Hi Arnaldo,

 

I have a very similar requirement in my project where I need to display a pop up automatically when the user opens the app with some text message based on some condition and there should be  a close button to close it.

I tried your extension and it is what my project is looking for. However, I see that we cant display a simple text in the pop up. Content object has to be a URL. When the show prompt is unchecked the pop up appears automatically, that's what I need but can we have a close button to close the pop up or what can we do to close it?

Could you please help me with this?

 

Regards

Anusha

ArnadoSandoval
Specialist II
Specialist II

Thanks @anushahegde  for your feedback!

Your suggestions are great ideas, I am actually working on the Extension, It will allow a text message as well as the URL, the initial idea come from this thread where they want to show a KPI object, I should post a new version in the next 24 hours!

Regards,

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

Great. I'm waiting on this.

ArnadoSandoval
Specialist II
Specialist II

@anushahegde 

Just an update, I experiencing difficulties triggering a popup windows without the <iframe>, as this token allows a reload, I am just trying to figure out how to hide the <iframe> but web pages does not allow to do that easily.

hth

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