Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Highlighted
Not applicable

How to keep the changes in the variables's values after reloading documents

Hi,

I'm experiencing a problem regarding the QlikView Server 11 SR1 with Publisher.

All the user changes in the variables's values are lost after the document is reloaded in the server.

Is this an expected behavior? I believe not.

If so, is there any way to keep user changes?

Thank in advance,

Rafael Francisco

8 Replies
Partner
Partner

Re: How to keep the changes in the variables's values after reloading documents

Good Afternoon, Rafael

Do not quite understand your question, what does your application? The correct is that every server update to base this is fed data to be updated. If you want to leave investigated variables with fixed value do calculation directly in the script.

Not applicable

Re: How to keep the changes in the variables's values after reloading documents

Good afternoon, cristiano.

Let me use a simple example:

     Suppose I have a document with a variable [Test].

     I publish the document on the server with the variable [Test] configured with default value "original".

     A user modifies the contents of the variable [Test] to "modified". If, during user's analysis, the document is      reloaded on the server (data is updated), the content of the variable is automatically set to the default value      "original".

     I don't wanna this behaviour, i need to keep the user defined value ("modified").

Thanks in advance,

Partner
Partner

Re: How to keep the changes in the variables's values after reloading documents

Good Afternoon, Rafael

Now I could understand!

In this case this variable would be obtained which way? Inline, database, xml qvw with a 'for' etc ... Whenever I need to use fixed values ​​that define variables in any of these databases, create a select multiple and usually when the server reconnects data selection remain.

I hope to have helped you.

Hugs

Re: How to keep the changes in the variables's values after reloading documents

HI

I think , in script variable assign?

Script:

set vVariable = 'original';

So, whenever reload the file, original is assign to variable 'vVariable'..

Please check once..

Hope it helps

eran_dayan
New Contributor III

Re: How to keep the changes in the variables's values after reloading documents

Hey Refael,

Have you found a solution for your problem?

I'm experiencing the same problem.

Thanks

Not applicable

Re: How to keep the changes in the variables's values after reloading documents

Unfortunately not.

But i found a workaround for myself.

Instead of using variables, i loaded a field with my desired values and make selections on it as needed.

As selections in fields's values ​​can be retained after reloads, it worked for me.

Best regards,

munirche
New Contributor II

Re: How to keep the changes in the variables's values after reloading documents

I'm having the same problem. Any thoughts other than using field values instead of variables?

Best regards,

munirche

Not applicable

Re: How to keep the changes in the variables's values after reloading documents

I believe not.

Sorry.