Each ItemType can contain a class structure that contains many levels of subclasses. Each subclass can have its own class specific properties and forms. Each subclass inherits its parents class properties, and also may have its own. For these examples, we will be working with an ItemType called Geometric Shape. Let's first examine how to create a class structure.
Creating a class structure:
Note: Notice that the parent class, the one defined in the ItemType is automatically displayed in the dialog. Right-clicking on any item in the dialog brings up a pop-up menu, enabling the user to add subclasses.
Now that we have a class structure, we can define class specific properties. Remember, each subclass inherits all the properties of all its parent classes. For example, all we need to define a square is the length of one side. However, to define a rectangle you need the lengths of two sides. The rectangle will already inherit one property of a side length, so all you need to define for the rectangle is another side. Let's look at how to define properties and how they are inherited.
Creating class specific properties:
Make sure you have the TOC Access, Permissions, and Can Add set as desired. (see Permissions)
Notice that the Color property is inherited by all subclasses, because it was defined at the GeometricShape parent level.
©2023 Aras Corporation - All Rights Reserved