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
- 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:
-
Requirements:
- Click the Create button:
- Add Fields to your Content Type
- 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
- 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 for Deleting Content Types
- You cannot delete a Content Type that contains published items.
- 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?:
In-Article Glossary
Review the CivicPlus Glossary of Terms, a comprehensive explanation of the acronyms, abbreviations, and company-specific terminology. The terms located in this section are listed alphabetically:
- API: Application Programming Interface
- JSON: JavaScript Object Notation
- UI: User Interface
- URL: Uniform Resource Locator
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.