A content type is a framework used to specify what information is included in a content item. You must be a content administrator to create content types and share them with others.
- Sign in as a content administrator in your browser and click Content under Administration in the left navigation menu.
- Select Asset Types from the drop-down menu.
- To create a new content type, click Create.
- Enter a name and optional description for your content type.
- Select Create a Content Item type, and then click Create.
- Drag a data field into the content type definition.
- The settings page for the data field opens:
- Enter a display name and optional description for your data field.
- Optionally, edit the field name. This name must be unique.
- If you selected text, media, or reference, select whether the field allows only a single value or multiple values and the number of values allowed.
- Select if the field is required when users submit the content.
- Select if the field values should be inherited from the master type. For example, you may want a text field to display the company name or stock symbol as entered when a content item is created using this content type across all languages. Or you may want to prepopulate an image field to always use the approved company logo for all languages.
Note:When selecting Inherit from master, Do not translate is automatically selected. If editing a content type that has been used to create content items of different languages already, selecting Inherit from master causes the field values in the existing draft items to use the value in the master item. If the languages have already been published, then the preexisting value will remain in use until a new draft item of that language is published.
- If you selected text, large text, or embedded content, select whether or not to translate the data entered into the fields. For example, a product description may be translated, but the product name or brand name might only be valid in the original language.
- Also if you selected text, large text, or embedded content, optionally provide a comment or note that provides additional instructions for the translator.
- On the appearance page for the data field, set what your data field will look like and if you want to apply any kind of validation. Each data field has different appearance values, such as validation, minimum or maximum length, the type of text editor to use (text area, rich-text editor, or markdown editor), or if the data needs to follow a particular pattern, such as a valid email address or zip code. For details on the available data fields and their options, see Data Fields.
When you add a large text field and set the appearance to rich-text editor or markdown editor, you can select the type of toolbar: standard, basic, or custom. For the custom markdown editor, you select which buttons to include in the toolbar. For custom rich-text editor, see Customize the Rich-Text Editor Toolbar.
- You can group related fields to make it easier for contributors to work with content item forms.
- To create a group, click Add Group, and then name the grouping. Drag data fields to the groups as desired.
- Select whether you want the group to be collapsed by default when viewed in the content item editor.
- To edit a group name, click .
- To delete a group, click . Select whether you want to remove the data fields along with the group, or if you want to move the data fields to another group.
- On the Friendly URL page for the content type, you can specify a readable URL for content items created using this content type.
- On the Content Layout page for the content type, select the layouts that are associated with this content type for the mobile version and the desktop version. If the content item created using this type will be used on a website, the content layouts should be created and uploaded prior to creating a content type. You can associate additional layouts by clicking Add Layout Style then entering a name and choosing a layout. See Manage Custom Components and Layouts.
When a content item is created using this content type, the person creating the item can preview how the content item will appear using any of these layouts.
If you want the content item creator to be able to see what the content item will look like on a particular site page, select the Oracle Content and Experience-created site and page, or enter an external site and page URL. External URLs can include placeholders for
slug. For example,
- On the Tile View page for the content type, you can specify a custom tile view. Custom tile views let you configure how the data fields of content items are displayed on the Assets page, based on content type. Select an option under the Display area of the Tile View page and configure the fields of the content type to be displayed as media, title, or text data in the tile view. In the available options, media data fields are represented by gray rectangles, title data fields are shown as a gray bar, and text data fields are shown as slightly smaller gray bars.
You must associate the content type with at least one repository and share it with users so it can be used to create content items.