global.onLoad
It is fired during the loading of the script when the database and other resources are ready. Good for setting field values based on external data, like phone numbers or agent properties. Important: there aren’t any pages loaded this time.
Parameters
none
Returns
none
Example
We want to save the last phone number used by our client to a field.
$().onLoad = function() {
vcc.setFieldValue('last_phone', vcc.getScriptVariable('global.clientphone'));
};
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.