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

Run script reload to new code only

Hi,
My QVW reads data from many QVD's. I have copied QVW into my PC from server and added new code to it and now I want to reload to take effective only newly added code while keeping existing data as it is. I know it is possible, but dont know the commands/required code changes.

Appreciate your input.

Cheers,

Laks

4 Replies
Josh_Good
Employee
Employee

You are looking for the partial reload function.  File->Partial Reload.  Note you need to add the "Replace" function to your script in the places you want to reload.

You may also want to consider using a binary load for the load data model.  That may be easier than adding "Replace" all over the place in your script.

Clever_Anjos
Employee
Employee

Two options:

1)You should copy your QVD´s to your development workstation

2) Copy your app to a new one. Open this app, erase your script and include into very first line

   binary [Path\yourqvw.qvw]

   add your new code here

Not applicable
Author

I guess this is what I'm looking for.. I added new tab in the end and  added LOAD statement like REPLACE LOAD>>..and tried to run File->Partial Reload, but it is still looking for prior LOAD ..or QVDs.

Here is the scenario..

Original file that I copied from server..

LOAD * from customer.qvd;

Modified file

LOAD * from customer.qvd;

REPLACE LOAD * from location.csv;  // added

I want run reload for the modified file without having customer.qvd

cheers.

Josh_Good
Employee
Employee

Try naming the tables and using the replace statement.

Customer:

Load * from customer.qvd;

Location:

Replace

Load * from location.csv;