admSetSpaceLayout

Description

Creates a decorator for the given spaceKey with the given name, and saves it. Will update an already existing decorator with the same (spaceKey, name) pair. Also updates the velocity cache.

Parameters

Or

Return Type

Boolean (true/false)

Returns true if the layout was successfully applied

Examples

Example 1

return admSetSpaceLayout("MS", "layout");

Example 2

CLayout layout; layout.spaceKey = "MS"; layout.body = "hello"; admSetSpaceLayout("someSpaceKey", layout);

See also