Tag: Load
The Load
action automates loading of a server and databases in single and multi-server applications and a single database in the case of single-database applications.
Syntax example for a Load
action block when used in single-server and multi-server applications:
<Load Server="ACME01/ACME" Partial="True">
<Load Database="activity.nsf"/>
<Load Database="log4.nsf" Select="True"/>
</Load>
Syntax example for a Load
action block when used in single-database applications:<Load Server="ACME01/ACME" Database="testlog.nsf"/>
Tag Attributes
Attributes | Attribute Value | Value Description | Comment |
Server | User definable | The abbreviated server name of the server to load | Mandatory |
Database | User definable | The database path | Mandatory |
LimitedToFolders | User definable | List of specific folders to load (separated by commas) | Not-mandatory: only applicable within single-server and multi-server tools |
Partial | True/False | See detailed description | Not-mandatory: only applicable within single-server and multi-server tools |
Select | True/False | | Not-mandatory: only applicable within single-server and multi-server tools |
Detailed Description:
In single-server and multi-server applications:
A Load
action script block allows you to specify both the server and a selection of databases
If the attribute Partial
is set to True, only the databases in child Load actions will be loaded. The server will thus appear in blue in the Database tree, indicating partial loading. Otherwise, the entire server will be loaded and will appear in black in the Database tree.
Thus, the Partial
attribute is only effective when databases are specified in child Load
actions.
This line would select all files on the server ACME01/ACME:<Load Server="ACME01/ACME" Select="True"/>
In order to select specific folders use the LimitedToFolders
attribute:
<Load Server="ACME01/ACME" Partial="False" LimitedToFolders="mail/domlog_old"/>
In single-database applications:
A
Load
action line allows you to specify a server/database file path. In these cases, the attribute
Partial
is not used.
The rest of the attributes function in the same way as in lines written for single-server and multi-server applications.