Resource Types (Magic xpi 3.x)
The Resource Details dialog box 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.
When you click the New button, the New Resource Type dialog box appears. Here you can define a new resource that can be accessed from the Resource Repository. Once you have entered a name and a description for your new resource type, you should enter its arguments as follows:
|
|
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.
|
Tooltip Description
|
Click to open the Tooltip Description dialog box. Enter a tooltip to describe the new argument.
|
Value Selection Type
|
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.
|
Encrypt
|
Define whether you want entered values, such as passwords, to be visible. Select one of the following from the drop-down list:
If you select Yes, the value is also encrypted in the resource settings XML file.
|
Logical Name
|
Define whether you want the new resource to support logical names. Select one of the following from the drop-down list:
|
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.
|
Click New to add new arguments to your resource. Click Delete to delete existing arguments.