Adding Variables (XML)
Variables that can be added in the DSMC can also be added via XML file:
- User-defined variables
- Drive mapping
- Administration permissions. Only DSM's own administration accounts can be added.
Adding User-Defined Variables
Add the entry in section CustomVariables .
Format of the entry:
<VARIABLE name="NAME" type="TYPE" value="VALUE" />
- For NAME, enter the required name. The name can only be assigned once.
- For TYPE, enter one of the three possible types: STRING, INI_VALUE or REG_VALUE.
- Specify the required value. Observe the correct syntax for each type.
User-defined variables may not be renamed via the XML file. If you change the name, a new user-defined variable is created. The old one is also retained.
Adding drive mapping
Add the entry in section DriveMappings .
Format of the entry:
<VARIABLE name="NAME" type="STRING" value="VALUE" />
- For NAME, enter the required drive name. It can only be assigned once.
- Specify the required value which must be entered in the following format: \\<Server\<Share>.
- <VARIABLE name="G:" type="STRING" value="\\es-es133\DSM$" />
Adding administration permission
You can only add DSM's own administration accounts.
- Add
the entry for the account in section
AccessControl.
Format of the entry:
<VARIABLE name="NAME" type="ACE" value="VALUE" /> - For NAME, enter the required account name.
- For VALUE, specify the required access permissions.
- <VARIABLE name="abo" type="ACE" value="S:RW; C:RW; P:RWE; DB:RW; A:RW" />
- Add
the entry for the password in section
Passwords.
Format of the entry:
<VARIABLE name="NAME" type="STRING" value="VALUE" PASSWORD="YES" /> - For NAME, use the account name.
- For VALUE, specify the required password (in plain text). The password is encoded during import.
- <VARIABLE name="abo" type="STRING" value="fspogd67" PASSWORD="YES" />