Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Sep 1, 2026

ADF node: expand

Node

Description

The expand node is a container that enables content to be hidden or shown, similar to an accordion or disclosure widget.

Note: The expand node can only be used in a doc or layoutColumn node. Inside tables (that is, within a tableCell or tableHeader node), use a nestedExpand instead. Expand widgets are not avaiilable anywhere else.

Example

Java

1
2
expand(p("Hello world"));

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "type": "expand",
  "attrs": {
    "title": "Hello world"
  },
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    }
  ]
}

Compatibility

Products

ConfluenceJira

Usage

Marks

Structure


  1. The localId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎

Rate this page: