WebPageNode

WebPageNode

A web page in the project's site map.

Web pages have a path and may be associated with a CMS collection when used as a detail page.

Methods & Properties

The relative path to the WebPage

The Collection ID of the CMS Collection if the WebPage is a CMS Detail Page

Clone the WebPageNode into a new one with the same content and settings, as a draft If the given path already exists, the cloned page will be created with a unique path.

Remove this node from the canvas tree.

Select this node on the canvas.

Set the attributes of this node.

Get the bounding box of this node.

Pans and zooms the viewport to center the node.

Navigate to this node.

Get the parent of this node in the canvas tree.

Get the children of this node in the canvas tree.

Get descendants of this node that match the given type.

Get the descendants of this node that support attribute.

Get the descendants of this node that have attribute set to a non-null value.

Walk this node and its descendants recursively.

Get plugin data by key.

Set plugin data by key.

Get all plugin data keys stored on this node.

Draft pages are excluded from publishing.