projectdoc Toolbox

Specifies the context for a space blueprint.

Audience
ID
projectdoc.context
Type
Default Value
String
Value Range
create-space
Since
3.2

When creating spaces the context should be set per default to create-space. This controls the creation of the space description to render the Display Space Attribute Macro. This will access the space description and renders it initially as the value of the space homepage's short description.

In the absence of the create-space value the context is considered to not create a space. The context should be set in all Soy templates that are employed to create a space with projectdoc.

Template Variable

Use the variable projectdoc.doctype.common.shortDescription.context.create-space to refer to the short description.

In the default context, the value of projectdoc.doctype.common.shortDescription will be used. In case of create-space the Display Space Attribute Macro will be rendered.

<ac:structured-macro ac:name="projectdoc-display-space-attribute-macro">
  <ac:parameter ac:name=\"attribute\">description</ac:parameter>
</ac:structured-macro>