Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When I change the variable value by browser and then i reload the document the value returns to its previous value.
I would like a user modifies variables and then reloads data with the new values. Is it possible?
How are you changing the value of a variable?
If the variable value changes from the selections you make or action resulting from the click of a button or text object, you may save the status as a bookmark and reload the bookmark when you reopen the application.
By an input field, this is the easiest way tha t i know to change a variable value. I've done it in the desktop version and it works fine, cause when the user reload data pushing a button data transformation uses new values.
I 've tried but I don't know how to save values into the document. When I reload data variable values returns to their previous value.
To retrieve your analysis with the current filter you applied, you need to use bookmark features of Qlikview. This feature will save / bookmart up to the last saved.
There is no activity in the Access Point or any of the clients that will affect the QVW file hosted on the server. QlikView server will remember some of the stuff you create on top of the QlikView document (like bookmarks and other server objects), but they will be stored in a separate repository file and will be merged in RAM with your document when you re-open it in the AccessPoint.
Therefore, there is no immediate way to influence a QDS reload like you can in the QV Desktop as the Distribution Service will only take the QVW document and task settings in account. Alternatives:
Best,
Peter
Thank you Peter, do you know if i use the method TriggerEDXTask if i resolve my problem? I know i can pass variables by this function.
Yes, that way you may pass a variable with any number of values to the task-to-be-triggered and subsequently to the QVW that is going to be reloaded. Just like a variable you define in the task configuration.
Remember that the variable should exist before you can set it. And you should only set it in the script if it doesn't exist yet. Otherwise the passed value will always be overwritten by the script statements.
Best,
Peter