Aras Innovator Platform

Content Type

The Content Type item links the Business Object ItemType to the CMF ItemType and is used to configure the custom grid and tree on the CMF items.

  1. Navigate to Administration -> Content Modeling -> Content Types in the TOC. The following menu appears:

    Figure 10.

  2. Click Create New Content Type. The following screen appears:

    Figure 11.

  3. Enter My PQD in the Name field.
  4. Set the Linked ItemType to the CMF ItemType. In this instance, that is MyPQD.

    It should now look like Figure 12.

    Figure 12.

  5. Right-click the Elements tab on the Content Type tree and select Add Element Type.
  6. Enter MyElement1 in the Name field for the Element Type.

    It should now look like Figure 13.

Figure 13.

Content Type Elements

  1. Right-click the Element (MyElement1) in the tree and select Add Property Type
  2. For this example, create the following Property:

    1. Data Type: Text
    2. Name: MyTextProp
  1. Click to save the property.
  2. Create another Property:

    1. Data Type: String
    2. Name: MyStringProp
    3. Data Length: 32

Refer to Table 2 for a complete list of the properties of the Element Properties.

Table 1: Document Conventions

PropertyDescription
DataTypeDataType of the Element’s property
NameElement’s name, a string, 30
My Data LengthThe maximum character length, only used for strings
Default PermissionA default Permission Item set for new Elements of this type, optional.
  1. Save Content Type.

    It should look like Figure 14.

Figure 14.

Note
If there is a need to create several elements without parent (parallel structures of elements), each of those parallel structures should be organized into different views to be displayed in CMF editor. Otherwise, the CMF editor will show nothing.

  1. Right-click the MyElement1 item again and select Add Element Binding.
  2. For this example, set the following properties:

    1. Referenced Type: MyProcessPlan (Business Object ItemType)
    2. Tracking Mode: Show Differences
    3. Resolution Mode: Current
    4. New Element Mode: Pick or Create

Refer to Table 3 for a complete list of the Element Binding items.

Table 2: Document Conventions

PropertyDescription
Referenced TypeThe Business Object ItemType that will be bound to the Element Type
Tracking ModeShow Differences: Show differences between Elements of this type and the referenced Business Object Ignore Differences: Ignore differences between Elements of this type and the referenced Business Object Hard Show Differences: Overrides Content Type Life Cycle-specific tracking mode Hard Ignore Differences: Overrides Content Type Life Cycle-specific tracking mode
PropertyDescription
Resolution ModeIdentifies which generation of bound item to access to perform value comparison. Current: use the current version of the item As Saved: use bound_item_id as is, do not use the current version of the item Hard Current: Overrides the LifeCycle resolution mode Hard As Saved: Overrides the LifeCycle resolution mode
New Element ModeDefine how new elements may be added. Pick or Create Pick Only Create Only
Reference Is RequiredUser cannot create an unbounded Element. All Elements of this type must have a reference to a Business Object.
Structure Mapping Method (SMM)The SMM returns the table data, allowing users to see conflicts between structures. The SMM is executed based on the Element Type. If a structure contains two different Element Types with SMM, both methods will run. This method is called when: An Element is added (New, Pick, Create) An Element is deleted A Reference is released On Pick/Replace of an Element
On Create ReferenceOptional. This method is called when a user attempts to create a reference on a Business Object. If no method is set, the default implementation will execute.
On After PickA method called after a user picks some business object from the context menu.
On Apply BindingOptional. The method will be called when the Element is picked. The method should link the selected Business Object to hierarchy of the main Business Object. This method also will be called when an Element exists but is not in the hierarchy of Business Object and the user wants to include the Element into the hierarchy of the Business Object.
  1. Add a new item to the Property Bindings tab.
  2. Configure the following properties:

    1. Referenced Property: name
    2. Document Element: MyStringProp
  3. Save the Content Type.

It should look like Figure 15.

Figure 15.

Currently, the Binding Types intersection is supported for the following Data Types:

  • String
  • Text
  • Integer
  • Date
  • Boolean
  • Image

Content Type Element Identity Inheritance

Content Type Elements inherit the managed_by_id, owned_by_id, and team_id properties from the parent Content Type instance item. The Element’s created_by_id and modified_by_id properties are not inherited.

For this sample case, this means that any MyElement1 items will be created with the managed_by_id, owned_by_id, and team_id values from the parent MyPQD item.

Warning
It is important to consider identity inheritance when defining custom permissions on Content Type Elements. Permissions including the Creator system identity on Content Type Elements will use the creator of each Element item, not the creator of the parent Content Type instance item, when validating user permissions.

Content Type View

  1. Right-click the Views node in the Content Type tree and select Add View.
  2. Click OK to confirm a tabular view.
  3. Enter a name for the Tabular View.

    It should look like Figure 9.

    Figure 16.

  4. Expand the Tabular View sub-tree
  5. Right-click the Columns node and select Add Column.
  6. Enter the following values in the new Tabular View Column

    1. Mapped Property: MyStringProp
    2. Header Title: My String
    3. Initial Width: 100
  1. Add another Column to the Columns node.

    1. Mapped Property: MyTextProp
    2. Header Title: My Text
    3. Initial Width: 200

    It should look like Figure 17.

    Figure 17.

  2. Right-click the Element Nodes node on the Tabular View sub-tree and select Add Element Type Configuration.
  3. Enter the following properties for the Element Node:

    1. Label: MyElement1 Label
    2. Element Type: MyElement1
    3. Icon: Choose an image

      It should look like Figure 18.

    Figure 18.

  4. Right-click the Additional Header Rows node and select Add Additional Header Row.
  5. Add a new Group relationship with the following properties:

    1. Label: My Group Label
    2. Start: 1
    3. End: 2

      It should look like Figure 19.

      Figure 19.

  6. Save, Unclaim, & Close the Content Type.