Discussion board for questions about the Qlik Community, its features, sharing information, general discussions and even some fun. This is for both new and longtime community members. Everyone is welcome!
When you create a task in QMC for your QVW, you will find an option to select "Partial Reload" under Reload tab.
If Partial Reload is enabled in a task for a QVW then the IsPartialReload() function in the QVW's script returns true.
Given below is a sample script.
In the script given below I'm trying to load data from QVD to my Main UI QVW whenever the QVD created in the past 30 min.
vqvdtime is for the QVDCreation time and vnowtime is the time for past 30 min.
So if my QVD is not created recently then the script will exit.
I can have two task created for this same QVW one Partial Reload runs every 30 min and
another task with full reload runs every 4 hours.
if IsPartialReload() then
if '$(vqvdtime)'>='$(vnowtime)' then
Replace load * from tabl.qvd(qvd); // The qvd has fresh data to be loaded
TRACE 'QVD refreshed recently so all data from QVD should be loaded';
TRACE 'No data to be loaded as the QVD not created recently';
EXIT Script; // do nothing
load * from tabl.qvd(qvd); // no Partial reload
TRACE 'Not a Partial reload and all data to be loaded';