Resource Types (Magic xpi 4.13)
The Resource tab lets you view the available resource types and modify the user-defined resource types. It also allows you to add a new resource type with all its properties.
Once you have entered a name and a description for your new resource type, you should enter its arguments as follows:
|
|
Resource Details
|
Name
|
The resource's name.
|
Description
|
A description of the resource.
|
Properties: Click button to add a new property. Click button to remove the existing property.
|
Name
|
The argument name.
|
Type
|
The argument type. Select one of the following from the drop-down list:
-
Alpha
-
Numeric
-
Date
-
Time
-
Logical
|
Length
|
The maximum character length for the type selected above. This field is mandatory.
|
Tooltip Description
|
Enter a tooltip to describe the new argument.
|
Value Selection Type
|
Select whether you want to set an Expression (default) or a Combo. If you select Combo, click to open the Combo Box Values dialog box. Enter the relevant combo box details.
|
Default Value
|
This assigns a default value to the argument. For example, if you define a resource whose first argument is Host Name, the default value can be Localhost. The default value selected must match the field type. If the Password check box is selected, this column is disabled.
|
Password
|
Define whether you want passwords to be visible or to be encrypted and marked with asterisks (*).
If you select this check box, the value is also encrypted in the resource settings XML file.
|
Env Variables
|
Define whether you want the new resource to support environment variables.
|
Mandatory
|
Define whether you want the new resource property to be a mandatory property.
|
Read Only
|
Define whether you want the new resource property to be read-only.
|
Visibility
|
Define whether you want the new resource property to have visibility dependencies. Select one of the following from the drop-down list:
-
Yes (default)
-
No
-
Condition
If you select Condition, click to open the Visibility dialog box.
|
Depends On
|
Define whether you want the new resource property to depend on the existing properties. Select the properties from the drop-down list.
This field is enabled when the Visibility argument (above) is set to Condition.
|
Depends On Values
|
Define whether you want the new resource property to depend on values of the existing properties. Select one of the following from the drop-down list:
|
Local agent compatibility
|
Check this toogle button to make the connector compatible with Local Agent. By default it is unchecked.
When you check this button, two additional arguments, namely Local Agent and LA Name get added to the resource properties.
The argument with name Local Agent is of type Logical and is a combo with Default Value as False.
The argument with name LA Name is of type Alpha with length as 30.
Both the arguments are mandatory and you cannot modify or delete them.
If the resource is already configured, the user will be given a confirmation dialog to reconfigure the resource to make the connector Local Agent compatible.
(Since version: 4.12)
|
Buttons: Click the button to add up to three new action buttons. Click the button to delete existing action buttons.
|
Validation Button
|
Click this toogle button, if you want to add a Validation button to the new resource. If you select this, you can then click the button to add and define the Validation button.
|