Documentation Center

Start Component Presentation command

Use the Start Component Presentation command to specify that the user can create a new Component in the Content Manager and that a Component Presentation can be modified on the Web page.

The following HTML fragment shows the second use of this command.

<div>
<!-- Start Component Presentation: {
	"ComponentID" : "tcm:2-635",
	"ComponentModified" : "2013-01-22T11:25:12",
	"ComponentTemplateID" : "tcm:2-599-32",
	"ComponentTemplateModified" : "2013-01-22T12:34:12",
	"IsRepositoryPublished" : true
} -->
  ...The actual Component Presentation, with fields marked for editing...
</div>
ParameterValueDescription
"ComponentID"Non-empty stringThe Content Manager URI of the Component you want to make editable
"ComponentModified"TimestampThe timestamp of the last published version of the Component
"ComponentTemplateID"Non-empty stringThe Content Manager URI of the Component Template you use to render the Component
"ComponentTemplateModified"TimestampThe timestamp of the last published version of the Component Template
"IsQueryBased"BooleanOptional, defaults to false: set to true to indicate that the Component Presentation was created using a Dynamic Component Template and was not embedded on the Page.
"IsRepositoryPublished"BooleanOptional, defaults to false: set to true to indicate that the Component Presentation was created using a Dynamic Component Template, regardless of whether the Component Presentation is embedded on the Page.