Add & Manage Content Types

Prev Next

This article will show you how to add a Content Type to your HCMS. You are able to create up to 100 Content Types on your site.

Create a Content Type

Who can use this feature?

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

  1. Click to access Content Types in the column on the left-hand side: Content types tab in left navigation menu.

  2. Click the green + (plus sign) button: plus sign button.

  3. Create a new Name: content type name field.

    Note: The Content Type name becomes part of the API URL (Example: https://hcms.civicplus.com/api/content/app/my-content-type/). The name cannot be changed later.

    • Requirements:

      • Lowercase letters (a to z)

      • Numbers and dashes only

      • Cannot be longer than 40 characters

    • Import Content Type: Add valid JSON scripting: JSON text field for creating content type.

  4. Click the Create button: create button.

  5. Add Fields to your Content Type

  6. Toggle to Published when you want the Content Type to be publicly viewable/accessible: published or unpublished toggles.

    Note: To view a preview of the JSON data, click the Json tab:json tab.

Edit a Content Type

Who can use this feature?

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

  1. Select Content Types on the left-hand side and select your desired Content Type: Content Type Category.

  2. Navigate to the UI tab at the top and modify the order of List Fields and Reference Fields, if desired: ui tab.

  3. Navigate to the Scripts tab and add any desired scripts: scripts tab.

  4. Click the Json tab and make any edits to the script: json tab.

  5. Navigate to the More tab and make desired edits: more tab.

    • Preview URLs: Add or edit preview URLs

    • Name: Cannot be modified

    • Label: Change the Content Type label; will override an existing Name as the display

      Note: The Name is what is used in the API meaning there are more limitations on how to create the name (such as no spaces). The Label is more flexible. If no label is provided the Name will be used as the label

    • Hints: Add hints/tooltips of what the label should be

    • Tags: Enter tags to annotate your content type for automation processes

  6. Click the Save button: save button.

Delete a Content Type

Important Note

  • You cannot delete a Content Type that contains published items.

Who can use this feature?

Owner | Developer | Publisher

  1. Navigate to Content Types on the left-hand side and select the Content Type you want to delete: Content Type menu with a content type selected from the list.

  2. Click the Actions menu in the top-right of the page and select the Delete option: Actions menu with Delete selected.

  3. Reply Yes to the pop-up that asks Do you really want to delete the Content Type?: yes delete content type.

Resources