Skip to end of banner
Go to start of banner

admSetSpaceLayout

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Current »

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

  • No labels