Adding Attributes to Top-level Schemas
Prerequisites: See Schema
Designer Prerequisites for details.
You can add custom attributes to the top-level schema element.
To add attributes to a schema:
- Navigate to Administration > Schema Designer.
- Select the schema from the appropriate tab in the Management view.
- Click Edit in the Actions menu. The Create/Edit view displays.
- Click the Attributes tab. The Attribute list displays.
- Drag the attribute fields from the Fields tab to the Attributes tab.
- Click the attribute to expand fields.NoteAn asterisk (*) in the Attributes tab indicates unsaved changes.
- Select or clear the following options:
Option Description Hidden If selected, the attribute is obscured from groups that lack permission to view hidden attributes. Read Only If selected, the attribute is visible and inaccessible to groups that lack permission to modify read-only attributes. Required If selected, associated items cannot be checked in without entering an attribute value. Indexable If selected, the attribute can be added to the index. - Enter field values. Each element (except the Group End
element) contains the following fields:
Field Description Tag Name The attribute's name as it displays in the schema. Default Value (optional) A value that populates the attribute by default in each instance created from the schema. Help Text (optional) Administrator-entered (or user with permissions) instructions for how to complete an attribute. Help text displays when users mouse over the question mark icon. NoteAfter administrators add or modify help text, refresh the CMS client to display the new help text. - Click Save in the Schema Actions menu when finished. The Save Schema dialog displays.
- Choose one of the following steps:
- Click Save Draft. Schema Designer saves the schema as a
draft.NoteIf you save the schema as a draft, attribute edits don't apply to new pages, components, or assets associated with schema. Save the draft as a new version to apply attribute edits.
- Click Save new version. Schema Designer saves the
schema as a new version.NoteTo display the new schema attributes in existing associated instances, see Syncing Schemas for details.
- Click Save Draft. Schema Designer saves the schema as a
draft.