Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is Partial Reload?
What is the difference between ADD and ADD Only keyword?
What is IsPartialReload()?
Thanks Manish...
But I am confused in IsPartialReload().
Thanks in Advance.
This is what Help says about IsPartialReload
IsPartialReload( )
Returns - 1 (true) if the current reload is partial, otherwise 0 (false).
thanks Colin, but how to implement it.
These videos may help - the second video uses IsPartialReload()
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';
ELSE
TRACE 'No data to be loaded as the QVD not created recently';
EXIT Script; // do nothing
ENDIF
ELSE
load * from tabl.qvd(qvd); // no Partial reload
TRACE 'Not a Partial reload and all data to be loaded';
ENDIF
Thanks a lot Sudeep.
Hi Abhivav,
I've made two part video tutorials on Partial Reload. Please check the below link (Copy & Paste the URL)
Thanks,
DV
Thanks Deepak.Quite helpful videos.