Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | createPage(spaceKey, parentId, pageTitle, pageContent) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Creates an issue based on the provided arguments. |
Creates an issue based on the provided arguments.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
spaceKey | String | Yes | Key of space to create the new page in. | parentId | Number | Yes | The ID of the parent page. If the page is at the root level (top level) the parent page should be the spaces home page. | pageTitle | String | Yes | Title of the new page. | pageContent | String | Yes | Content to be displayed on the new page. |
|
Return Type
number
The page ID of the newly created page.
...
Code Block |
---|
|
number homePage = getPage("PSCONF", "Power Scripts for Confluence Home");
number newPage = createPage(%homePage%.space, %homePage%.id, "New Page", %homePage%.content);
%newPage%.labels += "new"; |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "page_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|