Adding a custom property class
This topic describes how to add a custom property class. It includes the following sections:
About custom property classes
You can add your own custom property classes using the Property Dictionary. When you create a custom property class, the permissions you define for that system object are not inherited by any subclasses. This lets you create a custom property class and define some properties for it. Then, you can create a subclass that inherits the properties defined for the parent class. For the subclass, you can grant the Modify permission to another role (for example, the JuniorAdmin role).
With a custom property class structure like this, the subclass inherits the properties defined for the parent class. The JuniorAdmin role cannot delete the properties that the subclass inherits, nor can the JuniorAdmin role change enumerated values for any inherited property. However, the JuniorAdmin role can change default values for properties and add properties to the subclass.
Before you begin
To perform this procedure, your role must have, at minimum, a PropertyClass.CreateCustom authorization. For information about granting authorizations to roles, see Creating roles. To modify an existing custom property class, you must modify its properties, much like you would for any other system object. For more information about this procedure, see Setting values for system object properties.
To add a property class
- Select Configuration > Property Dictionary View. The Property Dictionary opens.
- Select Custom Property Classes or navigate to an existing custom property class where you want to create a class or subclass.
- Right-click and select New Class or New sub-class from the pop-up menu.
- On the General panel of the Create New Property Class wizard, for Name, enter the name of a custom property class. For Description, you can optionally provide descriptive text. Then click Next.
- On the Properties panel, specify the properties that should be associated with this property class, and then click Next. The panel automatically includes all built-in properties that are associated by default with a property class. For more information, see Adding or modifying properties.
- On the Permissions panel, define permissions for this property class. The Permissions panel is an access control list granting roles access to this property class. TrueSight Server Automation uses ACLs to control access to all objects. For more information about defining ACLs, see Defining permissions for a system object.
- To save the new custom property class, click Finish.
- To close the Property Dictionary, click Close.