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 Pub Type Card displays the Type Name, Description, & selected Fields for the selected Pub Type.
Deleting Pub Types
At the moment, Pub Types cannot deleted.
Edit Type
To edit an existing Type, select the pencil icon at the far right of the Type Card.
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.
Beside the list of Fields, a Name column allows users to indicate a default Field to use as a Pub's name. The selected field will be used as the Pub's name throughout the Community. The selected field must have a String schema. By default, the first String schema Field of a Pub Type is used for Pub Name.
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 appears 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.
A default Form for that Pub Type is added to the Forms Dashboard. This form is used as the default internal editor for all Pubs of this Pub Type. Any updates made to a Pub Type will not be automatically reflected in the default editor Form for the Pub Type unless a user manually updates the Form.