Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Msg Box in webview

Hi Community,

I want to display a custom msg box at a particular event.

Suppose a variable v_var having possible values 0 & 1.

So when the value is set to 1 the msg box should be displayed saying Value changed to 1.

And similarly for 0.

All this in webview i.e without Macro.

I hope some one can help for sure

Thanks in advance

Regards

Swapneel

8 Replies
its_anandrjs

You can use a variable like

Let v_var = 1;


If (v_var = 1,'Some Msg','Some other Msg')


in web view also

Not applicable
Author

Your messagebox could be a Text Object.

Create text object, and then you need a "show" variable - v_txt_show (For example).

Default the value to "1".

In the text object - change in the layout tab - Conditional exp = v_txt_show = 1
All you need now, is a button for the user to press to show/hide (ie change variable value to zero to hide, and 1 to show)

Not applicable
Author

Hey thanks for that

But my requirement is a Msg Box explicitly

Plz Tell me if u can

Not applicable
Author

Hi,

Create an image as per your requirement and use it in text object and remaining thing will be same.

Note: as per my knowledge, we can't show messages explicitly.

Not applicable
Author

@Ravi Kumar,@Graeme Baxter, @ Anand Chauhan: Thanks guys, I did that

I used the text box and solved it

richard_pearce6
Luminary Alumni
Luminary Alumni

Hi,

You can use on Event Action (Doc Properties / Trigger) Variable Event Trigger

Set an On Change Actions to control another variable ie. vShowMessageBox = 1

This controls the Layout Show Conditional Value of a text box. (you can have a close button on the text box to change the vShowMessageBox back to zero and hide the pop up message)

Hope this helps

Richard

QlikCentral.Com


its_anandrjs

Thanks for that if you got correct answer so mark the thread as correct for reference

Thanks & Regards

Anonymous
Not applicable
Author

All you need to do is, to use this variable in 'conditional' show in the 'layout' tab of the textbox. If variable=1,then some text displays and if it's 0 then some other text gets displayed..!
2.png