[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Required

Default

Notes

Theme Panels Only

Ver

decorator

(error)

all decorators

Only show the content when a specific decorator us being used, eg. "printable", etc.

(tick)

 

action

(error)

all actions

Only show the content for specific action(s), eg. "viewpage". NB: The ".action" part of the action name should not be included.

 

3.0

context

(error)

all contexts

Only show the content for specific context(s), eg. "page", "global", etc.

(tick)

 

mode

(error)

all modes

Only show the content for specific modes, eg. "view", "edit", etc.

(tick)

 

space

(error)

n/a

Only show the content if a specific space (referred to by the Space Key) exists.

 

 

spacekey

(error)

current space

The space against which permission checks will be made. Currently the default is current space.

 

 

pagetitle

(error)

current page

the page against which permission checks will be made. Currently the default is current page

 

 

page

(error)

n/a

Only show the content if a specific page (referred to by the page title) exists. @parent can be used to show data if the page is not at the root level, @child can be used to show data if the page has children.

 

 

pluginkey

(error)

n/a

The key of a plugin which must be enabled for the content to be shown

 

 

title

(error)

n/a

Only show the content if the current page has a specific title

 

 

label

(error)

n/a

Only show the content if the the current location (page, news, etc) has the specified label(s), eg. "my:favourite", "meetings", etc.

 

 

spacelabel

(error)

n/a

Only show the content if the the current space has the specified label(s), eg. "meetings", etc.

 

3.0

team

(error)

n/a

Only show the content if the the current space has the specified team label(s), eg. "sales,marketing", etc.

 

3.0

metadata

(error)

n/a

Metadata associated with the current location in the format: "myKey1:myValue1", etc.

 

3.0

user

(error)

All users

A comma separated list of usernames. Use @anonymous for anonymous users only.

 

3.0

asuser

(error)

@current

username that user/group/permission checks should be run against. This includes @anonymous, @creator, @author, @current

 

3.0

group

(error)

All groups

A comma separated list of user groups. Use @anonymous for anonymous users only.

 

3.0

permission

(error)

Any permission

A comma separated list of permissions:

  • view - user has view permission
  • comment - user can add comments
  • createpage - user can create pages
  • createnews - user can create news
  • edit - user can edit pages or news
  • remove - user can remove (delete) pages, news or comments
  • attach - user can attach files
  • export - user can export pages or the space
  • createspace - user can create spaces
  • spaceadmin - user is a space admin
  • siteadmin - user is a site admin

 

3.0

recurse

(error)

false

Should parent pages (if applicable) be checked for title, labels and metadata?

  • false - only check the current page (default)
  • true - also check parent pages, eg. does the current page or any of it's parents have the specified label, etc.

 

3.0

restriction

(error)

false

display content if the page has a restriction in place (none/view/edit/vieworedit/viewandedit - recursable)

 

3.0

useragent

(error)

n/a

A comma separated list of tokens to match against the user agent string of the requesting browser.

(error)

3.2.1

attachment

(error)

n/a

This parameter is only processed if context is a page or a blogpost.

(error)

3.2.2

While none of the parameters are mandatory, you must specify at least one of them for this macro to work.

...

Expand
Displaying content based on metadata
Displaying content based on metadata

Enter a list of metadata keys or metadata key:value pairs, if the metadata is found then the item will be shown/hidden. Ths check is recursable.

Expand
Displaying content based on attachments
Displaying content based on attachments

This only works if it is used inside a page or news item

Code Block

{builder-show:attachment=foo.jpg,bar.png}
show this if either foo.jpg or bar.png are attached to the current page/news
{builder-show}

CSS Customisation

Not applicable for this macro.

...