There are several kinds of Fields that can be added to HCMS Content Types.
Article Navigation
Field Types
The following fields are available in a Content Type.
- Assets: The assets field will need the GUID for the field, it does not accept any other entry. The asset must exist in order to be referenced within an import. View our article Retrieve an Asset's GUID.
- Boolean: The boolean field will accept a True or False entry.
- Checkbox: The checkbox field will accept any of the available answers. If more than one option is desired to be marked, separate each option with a comma.
-
Date / Time: Use the following entry formats, making sure to include the T and Z as shown below and do not use spaces:
- Date: Entry format is YYYY-MM-DDThh:mm:ssZ
- Date and Time: Entry format is YYYY-MM-DDThh:mm:ssZ
-
Date / Time Range: Use the following entry format, making sure to include the T and Z as shown below, and do not use spaces:
- The Start Date and End Date for the range must use this entry format: YYYY-MM-DDThh:mm:ssZ
- Geolocation: The geolocation/location field will accept an address entry.
- Json: The Json field will only accept the Json code.
- Link: Add a link, including the display name and target.
- Number: The number field will only accept numeric entries.
- Number Range: Create a number range, including salary and age ranges.
- References: The references field will need the GUID for the field, it does not accept any other entry. The content element must exist in order to be referenced within an import. View our article Retrieve an Asset's GUID.
-
String: The string field is based on the type of option:
- Input: The input field type allows for short text entries.
- TextArea: The textarea field type allows for long answer entries.
- RichText: The rich text field type allows for any text entry.
- Markdown: The markdown field type will allow for markdown language.
- Dropdowns: The dropdown field type accepts entry based on available options.
- Radio: The radio field type accepts entry based on the available options. Only one option can be entered.
- Tags: The tags field will accept any entry. If more than one tag is desired, you will separate each tag by a comma.
Add a Content Type Field
- Navigate to Content Types on the left-hand side and select your desired Content Type
- Click Add Field
- Select the Field Type
- Add a Field Name
- Select Create and edit field
- Configure the options on the Common, Validation, and Editing tabs
Note: Options will vary, depending on the field type selected. - Click Save and close
Edit a Content Type Field
Instructions
- Navigate to Content Types and select your desired Content Type
- Click the Gears icon to modify the settings for a specific field
- Navigate through the Common, Validation, and Editing tabs
Note: Settings and fields will vary based on the Content Type Field. - Click Save to finalize changes
Hide a Content Type Field
When you hide a field, it still exists in the back-end but will not be visible at all to front-end users.
Instructions
- Navigate to Content Types on the left-hand side and select your desired Content Type
- Click the Actions menu next to the desired field and select Hide in API
- View your hidden field as greyed out
Disable a Content Type Field
When you disable a field, it is no longer active for use.
Instructions
- Navigate to Content Types and select your desired Content Type
- Click the Actions menu next to the desired field and select Disable in UI
- View your field as Disabled
Lock a Content Type Field
When you lock a field, you prevent others from making changes.
Important Note
- Locking a field cannot be undone. Locked field definitions cannot be unlocked, deleted, or changed.
Instructions
- Navigate to Content Types on the left-hand side and select your desired Content Type
- Click the Actions menu next to the desired field and select Lock and prevent changes
- Reply Yes to the pop-up that says: Locking a field cannot be undone! Locked field definitions cannot be unlocked, deleted, or changed anymore. Do you really want to lock this field?
Delete a Content Type Field
This article will show you how to Delete a Field that is in a Content Type. When you delete a field, it is permanently removed from the Content Type. You can Disable a field to simply not allow users to use the field or Hide the field to not display the option but still retain the field on the back end.
Instructions
- Navigate to Content Types on the left-hand side and select your desired Content Type
- Click the Actions menu next to the desired field and select Delete
- Reply Yes to the pop-up that asks Do you really want to delete the field?
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.