Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,sheading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admSetSpaceLayout(spaceKey, layout)

Package

Alias

admSetSpaceLayout(decorator)

Pkg Usage

Description

Excerpt
hiddentrue
Creates a decorator for the given spaceKey with the given name, and saves it.

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.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

spaceKey

String

Yes

The key of the Confluence space to which the syle should be applied.

layout

String

Yes

A String representing the css styles for the space

Or

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

decorator

CLayout

Yes

Predefined structure that defines the new Layout

Return Type

Boolean (true/false)

...

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

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "admin_routines" and space = currentSpace ( )
labelsarray_routines