Documentation Center

Start Region command

Use the Start Region command to indicate an editable region on a page. A Start Region command applies to its nearest HTML container, and defines which kind of Component Presentations can exist within that container.

The following HTML fragment shows the use of this command.

<div>
<!-- Start Region: {
	title: "My Region",
	allowedComponentTypes: [
		{
			schema: "tcm:2-26-8",
			template: "tcm:2-32-32"
		},
		{
			schema: "tcm:2-27-8",
			template: "tcm:2-32-32"
		}
	],
	minOccurs: 1,
	maxOccurs: 0
} -->
</div>
ParameterValueDescription
titleNon-empty stringThe title of this region.
allowedComponentTypesArraySets of Schema-Template combinations that are allowed in this region. Each element in this array consists of a schema property (the Content Manager URI of a Schema) and a template property (the Content Manager URI of a Component Template). A Component Presentation is only allowed in this region if its Component is based on one of the Schemas listed. It will be rendered with the Component Template specified for that Schema.
minOccursNumberThe lowest number of Component Presentations allowed in this region.
maxOccursNumberThe highest number of Component Presentations allowed in this region. Omit this parameter to allow up to any number of Component Presentations.