CMF ItemType
Copy
The CMF ItemTye creates a link between the Business Object ItemType and the Content Type, allowing administrators to configure custom views.
Note
All CMF ItemType forms must have an OnFormPopulated event with the core method cmf_ShowContentType.
- Navigate to Administration -> ItemTypes -> Create New ItemType in the TOC.
Enter a name and labels.
- Name: MyPQD
- Singular Label: My PQD
- Plural Label: My PQDs
In the Properties tab, add a new Property
- Name: name
- Label: Name
- Data Type: String
- Length: 32
- Set access and permissions in the TOC Access tab, the Can Add tab, and the Permissions tab by clicking the Add icon
. Click Save and Done. It should look like Figure 4.
Figure 4.
- Select the Views tab and double-click the MyPQD form.
Lock the form, go to the Form Event tab, and click Add Methods
. The Method Search dialog appears:Figure 5.
- Search for cmf_ShowContentType, select it and click OK.
- Double click the blank box in the Event column. Click the Down arrow to select the OnFormPopulated method.
- Click
to Save the MyPQD form. Click
to unclaim it.
Figure 6.