The Adaptavist Group LogoDocumentation

Create Page

Instructions for the Create Page macro.

The Create Page macro enables you to add new pages in the right place, with the right template, and a correctly formatted page title.

When you are editing or creating a page in Confluence Cloud, you can use ScriptRunner for Confluence Cloud to create a page.

  1. Select Insert, then search for and add Create Page.

    The Create Page Macro dialog opens.The Create Page macro in the insert menu.

  2. Give your new page a Title.
    Tip: Find available variables

    Type a $ in the Title, Prefix, or Suffix field to see all available variables.

  3. Ensure the Target Mode field is set to your needs. This field determines whether the new page opens in View or Edit Mode. It's set to View Mode by default.
  4. Optional fields
    1. Parent page: this field defaults to $self, which indicates that the new page's parent is the current one from which it's being created.
    2. Source: This field lets you choose how the new page is pre-filled:
      1. None: creates a blank page
      2. From page: copies content and attachments from an existing page
      3. From template: starts the page from a global template.
    3. Prefix, Suffix, and Indent: these fields allow you to format the title of the new page as desired.
    4. Add space: add a space between the prefix, title and suffix.
    5. Button text: the words shown on the button that will create new pages when clicked.
    6. Open in new tab: specifies whether the newly created page will open in a new browser tab.
    7. Labels: specify labels that will be attached to the newly created page.
  5. Click Save. The macro saves and appears on the page in Edit mode.
  6. Update the page to see the macro as it will appear to others.

Edit the Create Page Macro

To edit the Create Page macro:

  1. View the page with the previously created macro in Edit mode.
  2. Click the Create Page macro settings and select Edit.
  3. Make your desired changes and click Save.

Search documentation

Start typing to search the docs.