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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

prompt before reloading

Hi,

Is it possible to create a Qvw file it should prompt to get the user input and based on the user input the QVW file should get reloaded. And the functionality should work when deployed in web also.

3 Replies
vupen
Partner - Creator
Partner - Creator

Add the following macro sub:


Sub DoReload
Dim sConfirmReload

sConfirmReload = InputBox("Do you want to reload? Please enter Y to confirm.")
If UCase(sConfirmReload) = "Y" Then
ActiveDocument.Reload
End If
End Sub


Call the sub DoReload from a button placed on the view.

Not applicable
Author

Thanks Upendra,

I want to provide the input for reloading. Like Customer name or duration for which the QVW document should reload. Is it feasible.

vupen
Partner - Creator
Partner - Creator

You can reload with a parameter from a desktop client, by calling the QV executable.

However, this might not be possible in a Server mode.

Please see the thread http://community.qlik.com/forums/t/18031.aspx