Add Page Macro does not create a new page when a page already exists

Purpose

When creating or adding a page via the Add Page macro, the Add Page macro does not create a new page if the page with the same name already exists.

Answer

This is the expected behaviour in order to avoid getting duplicated pages. The Add Page macro will use the same title as configured.

In case creating pages with similar names is needed, then Prefix and Postfix features need to be used. The following format/syntax can be applied on the prefix/postfix field of the Add Page macro

Server

Prefix:
"%page:title% - " will add the current page title plus " - " to the start of the page name.

Postfix:
" - %page:title%" will add ' - ' plus the current page title to the end of the page name. 

See also: Add Page macro reference page

Cloud

  1. $date(<date-format>) to output the current time and date. Supported date formats:

    Examples:
    $date(MMM-YYYY) results in "Jan-2020"
    $date(YYYY-MM-dd HH:mm a) results in "2020-01-13 09:24 AM"
    $date(ww) results in "2" (week number)
  2. $id(<format>,<startAt>) to assign incremental IDs.

    Examples:
    $id(000,1) to get a sequence of 1, 2, 3...
    $id(0,5) to get a sequence of 5, 6, 7...