Documentation Center

Page Settings command

Use the Page Settings command to apply settings to this Web page. Settings are formatted using the JSON (JavaScript Object Notation) syntax.

Refer to the JSON Web site at http://www.json.org/ if you need additional information about this format.

A Page Settings command block is required in order to make the Web page editable. It also requires a JavaScript statement. The following code sample shows the command block followed by the JavaScript statement:

<!-- Page Settings: {
	"PageID": "tcm:2-19-64",
	"PageModified": "2013-01-22T11:25:12",
	"PageTemplateID": "tcm:2-374-128"
	"PageTemplateModified": "2013-01-22T13:21:34",
} -->
<script type="text/javascript" language="javascript" defer="defer" 
	src="http://UIDOMAIN/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" 
	id="tridion.siteedit"></script>

The command has the following properties and subcommands:

ParameterValueDescription
"PageID"Non-empty stringA unique string that identifies the Page object in Content Manager associated with this Web page.
"PageModified"A timestampThe timestamp of the last published version of the Page object.
"PageTemplateID"Non-empty stringA unique string that identifies the Page Template object in Content Manager used to render the Page to produce this Web page.
"PageTemplateModified"A timestampThe timestamp of the last published version of the Page Template object.

In the JavaScript statement, replace UIDOMAIN with the domain name of the server on which Content Manager Explorer runs.