9.1 Generic Resource Objects

Generic Resource objects allow you to store information that a policy consumes. It can be any information stored in text or XML format. A resource object is stored in a library or driver object. An example of using a resource object is when multiple drivers need the same set of constant parameters. The resource object stores the parameters and the drivers use these parameters at any time.

9.1.1 Creating a Generic Resource Object

  1. In the Outline view, right-click the location where you want to create the resource object, then select New > Resource.

  2. Specify the name of the resource object.

  3. Select the content type: XML or Text.

  4. Select the check box for Open the editor after creating the object, then click OK.

    Creating a resource object fields
  5. Click Yes in the file conflict messages.

  6. Specify the desired text or XML, then press Ctrl+S to save the resource object.

9.1.2 Using a Generic Resource Object

A resource object is a place to store information. It is an eDirectory object, and to use the information in the object, you treat it as any other eDirectory object. The attribute DirXML-Data stores the information in the resource object, and the attribute DirXML-Content type stores the label of the information.

To read the information stored in the resource object, use the Source Attribute or Destination Attribute tokens. To write information to the object, use the following actions: