admSetSpaceLayout
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
Peacock
, multiple selections available,
Related content
admGetSpaceLayout
admGetSpaceLayout
More like this
admGetSpace
admGetSpace
More like this
admSetSpaceStylesheet
admSetSpaceStylesheet
More like this
admGetSpaceStylesheet
admGetSpaceStylesheet
More like this
admUpdateSpace
admUpdateSpace
More like this
admSpaceExists
admSpaceExists
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.