This documentation has moved. For the most recent documentation, check out https://docs.adaptavist.com. Please update your bookmarks and links.

Skip to end of metadata
Go to start of metadata

ThemeBuilder Macro - Panel Import (Builder Panel)

panel-import

Imports the named panel into another panel to create the nested page framework. To be used in ThemeBuilder panels, will not work if added in the Confluence editor.

Categories: development

Usage

Storage Format

<ac:macro ac:name="panel-import">
  <ac:parameter ac:name="parameter">value</ac:parameter>
</ac:macro>

Wiki Markup

{panel-import:parameter=value}

Parameter

Name

Description

Type

Default

Required

panel

Panel

The panel to include

string

 

(error)

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

 

(error)

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

 

(error)

 

Example

To import the contents of the 'content' panel into the 'with-sidebar' panel.

<ac:macro ac:name="panel-import">
  <ac:parameter ac:name="panel">content</ac:parameter>
</ac:macro>

Code as seen in 'with-sidebar' panel

Result

The 'content' panel is shown in the page - area with red border.