Methods

NameTypeDescription
$page.properties.forId(macroId)PageProperties

The properties contained in the macro with the given macro ID.

ParameterTypeDescription
macroIdStringThe ID of the macro from which to retrieve the properties.
$page.properties.get(key)HtmlFragment

The property value for the given property key. You can also use subscript notation if the property key is a single word without special characters, e.g. $properties.MyKey if the property key is MyKey.

ParameterTypeDescription
keyStringThe property key.