Authoring structured content
Certain content is best managed via form-based input due to a fixed structure or other requirements of the content. Experience Workspace's structured content feature allows the content author to easily create structured content with an intuitive form-based editor.
Structured content folder
Because of its structured nature, structured content is maintained in its own folder or folders. These can be named anything and located anywhere in your site structure, but must be configured by your administrator to support structured content. Contact your administrator to know which folders are designated for structured content.
Creating structured content
- Browse to your structured content folder.
- Click the plus at the end of the breadcrumbs to create a new structured content document.
- Click Document.
- The structured document editor opens.
- If the normal Experience Workspace editor opens, make sure the folder you are in is actually configured for structured content.
-
The fixed structure of structured data is defined by schemas. Choose the schema for your structured content from the drop down and click Create.
The structured content editor opens, presenting a forms-based input window based on the schema you selected.
The structured content editor
The structured content editor is a form-based input window. The number of fields, their labels, and options are all defined by the schema you selected when creating the document. The following image is an example of creating a structure document based on the sample coffee schema.
The structured content editor makes managing complex data structures intuitive. It has two main areas:
The right Navigation panel
- This panel reflects the structure of your content as a tree, with nested objects and array items.
- Click an entry to jump to that part of the editor area.
The editor area
- The editor area provides a flat view of the form using the full width of the editor.
- The editor shows all fields for the selected node with appropriate input controls (text inputs, number steppers, checkboxes, drop downs for
enum, and add/remove controls for arrays). - Changes are saved automatically as you type.
Previewing and publishing
Structured data is previewed and publish in the same way that other documents are previewed and published in Experience Workspace.
However, structured data is published as JSON data, intended to be consumed by blocks of your site or externally. So when previewing or publishing a tab will open in your browser with JSON data instead of a rendered page.
The Sidekick is not available for previewed or published structured content.
Editing a structured document
- Browse to your structured content folder.
- Click on the structured document you wish to edit.
- The structured content editor opens to edit your structured document.
If the normal Experience Workspace editor opens, make sure the folder you are in is actually configured for structured content.