- Description:
This key defines the text displayed for a standard add option in the + Add button dropdown.
The value is a string that specifies the label text for the menu item.
By default, this key uses the name of the matching Schema if
add_options.schemais configured. Otherwise, this key has no default value.- Appears in:
└── collections_config └── * └── add_options └── [*] └── Add Option └── name- Type:
string- Examples:
In this example, we have configured a standard add option for the
peopleCollection with the custom name "Add Staff Member".Copied to clipboardcollections_config: people: add_options: - name: Add Staff Member schema: employee icon: face editor: data schemas: employee: path: /.cloudcannon/schemas/employee.yml{ "collections_config": { "people": { "add_options": [ { "name": "Add Staff Member", "schema": "employee", "icon": "face", "editor": "data" } ], "schemas": { "employee": { "path": "/.cloudcannon/schemas/employee.yml" } } } } }