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)
Click to access Content Types in the column on the left-hand side:
Click the green + (plus sign) button:
Create a new Name:
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:
Click the Create button:
Toggle to Published when you want the Content Type to be publicly viewable/accessible:
Note: To view a preview of the JSON data, click the Json tab:
Edit a Content Type
Who can use this feature?
Owner | Developer | Publisher | Author (submit for approval)
Select Content Types on the left-hand side and select your desired Content Type:
Navigate to the UI tab at the top and modify the order of List Fields and Reference Fields, if desired:
Navigate to the Scripts tab and add any desired scripts:
Click the Json tab and make any edits to the script:
Navigate to the More tab and make desired edits:
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
Click the 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
Navigate to Content Types on the left-hand side and select the Content Type you want to delete:
Click the Actions menu in the top-right of the page and select the Delete option:
Reply Yes to the pop-up that asks Do you really want to delete the Content Type?: