Creating a local property in the system package


You can add a local property to the system package you plan to use to provision your manually imported devices.

This local property makes use of the COMPUTER_NAME device property you created earlier in this process.

In this example, assume you call your local property LOCAL_COMPUTER_NAME.

To add a local property

  1. In the Depot folder, navigate to the system package, right-click and select Open from the pop-up menu.
  2. Click the Local Properties tab.
  3. Click Add g_V95_AddIcon.gifto add a new property. The Add Property dialog box appears.
  4. For Name, type LOCAL_COMPUTER_NAME.
  5. For Type, click Simple, then choose String from the drop-down list.
  6. For Default value, type ??DEVICE.COMPUTER_NAME??.
    This value is made up of the following parts:
    • The first part is the name of the built-in system package property (DEVICE) that references the Device class.
    • Followed by a dot (.)
    • Followed by the name of the DEVICE property — in this case the property is called COMPUTER_NAME.
      Be sure to include the double question marks at the beginning and the end.
      You can use this syntax for other properties. For example, if you had created a Device property called OM_NAME, you would specify it like this:
      ??DEVICE.OM_NAME??

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Server Automation Documentation