Adding fields to content types
Fields can be added to content types in the Developer Portal for customization, and to add functionality.
Before you begin
You must have administrator access to the Developer Portal to complete this task.
About this task
You can specify the type of data that a field can store, and the form element to edit the data with. The type of form element that is available is dependent on the type of data that your field stores.
Note: You can specify the number of values that a field can store, including an unlimited amount.
You can configure the value after the field is created. Reducing the number of values that can be
stored after the field is created might lead to data loss.
Procedure
- If the administrator dashboard is not displayed, click Manage to display it.
- Click Structure in the administrator dashboard.
- Click Content types, and identify the content type that you want to add a field to.
- Click Manage fields for the content type, then click Add field.
-
Select a field type or select an existing field to reuse, then enter a label for your field in the Label field.
The label that you specify for your field is displayed in the UI.
- Optional:
If you want to edit the machine name that is automatically created based on your label, click
Edit and enter the new name.
You cannot change the machine name after the field is created.
- Click Save and continue.
-
Modify the field type specific settings as required, then click Save field settings.
You have added a field to your content type.