Aras Innovator Platform

Exporting CMF Packages

Warning
When creating and exporting packages that include CMF Content Types, it is important to keep in mind that there may be RelationshipTypes that are automatically created during the CMF process. These RelationshipTypes should not be added or exported. Doing so will cause import errors.

To see an example of these RelationshipTypes, create the following:

  1. Create a new ItemType called “Desk.”
  2. Create a new Content Type item:

    1. Name = “Desk_CMF”.
    2. Linked Item Type = “Desk”.
  1. Add an Element to Desk_CMF called Desk_Element1.
  2. Add a Property to the Desk_Element1 called Desk_Prop1.
  3. Save and close the Desk_CMF Content Type.
  4. Open the Desk ItemType and go to the RelationshipType tab.

There should be 2 items that were automatically created in the CMF process.

Figure 22.

Note
These RelationshipType items should not be added to Package Definitions for exporting. When exporting the CMF, it is necessary to include the cmf_BaseView item for the CMF to load properly. Navigate to the cmf_BaseView ItemType and expose it in the TOC by giving it the correct TOC Access settings. Find the cmf_BaseView item associated with your CMF ItemType and add it to the package definition.

When importing the Content Type item, these RelationshipType items will be created automatically by default.