Types, made up of Fields, define the structure of Pubs that may exist in a community. Pub Types can be assigned to Pubs upon creation. The Types Dashboard allows users to view all active Pub Types in a community.
Types are listed in order of creation, appearing as dropdown menus labeled with the Type Name and Description. Selecting the arrow at the far right of the Type Card will reveal all the Fields associated with the Type (including the Field Name and Field Slug).
Edit Type
To edit an existing Type, select the pencil icon at the far right of the Type Card.
A trash can icon will appear next to the Type Name. Select the trash can icon to remove the Type. If any Pubs in the Community are associated with the Pub Type, the Type cannot be removed.
An [x] will appear next to all of the Fields currently associated with the Pub Type. Select the [x] to remove a Field from the Pub Type. This does not remove any existing content from Pubs with that Pub Type.
To add additional field to a Pub Type, search and select Fields in the Community using the dropdown search box. Once a Field is selected, the Field will appear at the bottom of the list of Fields associated with the Pub Type.
Create Type
To create a new Pub Type, select Create from the Types Dashboard. A pop-up will appear to Create Type.
- Type Name: The title for the Type. The Type Name will appear on any Pub of this Type
- Description: The description for the Type
- Fields: a dropdown list of Fields available in the Community, according to various schemas.
Once all necessary fields for a Pub Type have been added to the Pub Type, select Create Type. The new Pub Type will appear at the bottom of the list of Pub Types.
Selecting the arrow at the far right of the Pub Type will display the Type Name, Description, & selected Fields for the selected Pub Type.