Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikView forum consolidation is complete. Labels are now required. LEARN ABOUT LABELS
cancel
Showing results for 
Search instead for 
Did you mean: 
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
cristianor
Partner
Partner

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

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,

cristianor
Partner
Partner

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

MayilVahanan

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

Thanks & Regards,
Mayil Vahanan R
eran_dayan
Contributor III
Contributor III

Hey Refael,

Have you found a solution for your problem?

I'm experiencing the same problem.

Thanks

Not applicable

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
Contributor II
Contributor II

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

Best regards,

munirche

Not applicable

I believe not.

Sorry.