Specifies the ID of the class to which the object value of the custom property defined by this IPropertyDefinitionObject object must conform. This property holds the Id property value of the IClassDescription object that describes the required class.

Although you can set a RequiredClassId property to any class type, Content Platform Engine allows only the following required classes for a custom object-valued property:

  • A RepositoryObject subclass that permits instances.
  • A SecurityPrincipal subclass (includes User and Group classes).
  • An independently retrievable GCD class. The following GCD classes are not allowed: EntireNetwork and Domain. The referencing IPropertyDefinitionObject object must be of single cardinality, not allow foreign objects, have no reflective property ID, and have a deletion action of none or null.

If you set this property to a class that describes a dependent object, you will not be able to set the property defined by this IPropertyDefinitionObject object to that dependent object because you cannot set a custom object-valued property to a dependent object. Unlike a system object-valued property, a custom object-valued property can hold independent objects only.

Namespace:  FileNet.Api.Admin
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Property RequiredClassId As Id
C#
Id RequiredClassId { get; set; }
Visual C++
property Id^ RequiredClassId {
	Id^ get ();
	void set (Id^ value);
}
JavaScript
function get_requiredClassId();
function set_requiredClassId(value);

ToggleRemarks

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: GUID
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: true
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: SETTABLE_ONLY_ON_CREATE
TargetAccessRequired: READ

ToggleSee Also