Documentation Index

Fetch the complete documentation index at: https://www.civicplus.help/llms.txt

Use this file to discover all available pages before exploring further.

Content Type Fields

Prev Next

There are several kinds of Fields that can be added to HCMS Content Types.

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

  1. Sign in to your site

  2. Navigate to Content Types on the left-hand side and select your desired Content Type Content Types section showing various types including a highlighted Department entry.

  3. Click Add FieldList of fields with a highlighted button to add a new field.

  4. Select the Field Type User interface elements for adding various data fields in a software application.

  5. Add a Field NameInput field for entering a field name in a user interface design.

  6. Select Create and edit fieldButtons for creating and editing fields in a user interface layout.

  7. Configure the options on the Common, Validation, and Editing tabs Editing field settings with sections for common, validation, and editing options.

    Note:

    Options will vary, depending on the field type selected.

  8. Click Save and closeThe Save and close button is highlighted on the content type page.


Edit a Content Type Field

Who can use this feature?

Owner | Developer | Publisher | Author (submit for approval)

  1. Sign in to your site

  2. Navigate to Content Types and select your desired Content Type Content Types section showing various types including a highlighted Department entry.

  3. Click the Gears icon to modify the settings for a specific field The gear icon on the field.

  4. Navigate through the Common, Validation, and Editing tabs Settings interface showing department options with highlighted tabs for Common, Validation, and Editing.

    Note:

    Settings and fields will vary based on the Content Type Field.

  5. Click Save to finalize changes The Save button on the Validation tab.


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.

Who can use this feature?

Owner | Developer | Publisher | Author (submit for approval)  

  1. Sign in to your site

  2. Navigate to Content Types on the left-hand side and select your desired Content Type Content Types section showing various types including a highlighted Department entry.

  3. Click the Actions menu next to the desired field and select Hide in API Actions menu with Hide in API selected.

  4. View your hidden field as greyed out A grayed out hidden field.


Disable a Content Type Field

When you disable a field, it is no longer active for use.

Who can use this feature?

Owner | Developer | Publisher  

  1. Sign in to your site

  2. Navigate to Content Types and select your desired Content TypeContent Types section showing various types including a highlighted Department entry.

  3. Click the Actions menu next to the desired field and select Disable in UIThe Disable in UI menu option.

  4. View your field as Disabled The Disabled label on a field.


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.

Who can use this feature?

Owner | Developer | Publisher  

  1. Sign in to your site

  2. Navigate to Content Types on the left-hand side and select your desired Content Type Content Types section showing various types including a highlighted Department entry.

  3. Click the Actions menu next to the desired field and select Lock and prevent changes Menu options for locking fields and preventing changes in a user interface.

  4. 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? Warning message about locking a field with options to confirm or cancel action.


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.

Who can use this feature?

Owner | Developer | Publisher  

  1. Sign in to your site

  2. Navigate to Content Types on the left-hand side and select your desired Content Type Content Types section showing various types including a highlighted Department entry.

  3. Click the Actions menu next to the desired field and select Delete The actions menu next to a field with the Delete option selected.

  4. Reply Yes to the pop-up that asks Do you really want to delete the field? Confirmation dialog asking if the user wants to delete a field with options.