Start Component Field command
Use the Start Component Field command to indicate an editable field in a Component Presentation. Only a field that is enclosed together with this command in an HTML element, such as <span>, can be edited inline by the user.
The following HTML fragment shows the use of this command.
<div>
<!-- Start Component Presentation: {
"ComponentID" : "tcm:2-635",
"ComponentTemplateID" : "tcm:2-599-32",
"ComponentModified" : "2011-01-22T11:25:12",
} -->
<span>
<!-- Start Component Field: {
"XPath" : "tcm:Content/custom:Content/custom:NewField[1]"
} -->
HTML contents of the field
</span>
</div>
| Parameter | Value | Description |
|---|---|---|
"XPath" | Non-empty string | An XPath expression pointing to the Component field. |