You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Creates a new projectdoc document based on a doctype.
Creates a new projectdoc document based on a doctype.
Parameters
The parameters allow to specify parameters to create a projectdoc document.
name
The name of the new projectdoc document.
space-key
The key to the space where the new document will be stored.location
The location within the space that defines the parent page.
Either provide
- the title of the page (not the name of the document),
- the page identifier surrounded by curly braces (e.g.
{123456}
, the value of space-key
is not taken into account in this case), or - the keyword {homepage} (to store the document to the doctype's homepage).
If the page title starts with a curly brace ({
) and ends with one (}
), you need to escape it with a backslash ( \
) as in \{My Page Title}
.
expand
Define if properties and/or sections should be expanded. Select from property
and section
. If both a specified, separate the two values by a single comma (no spaces).
This parameter refers to the representation returned on the request.
resource-mode
Controls how properties are rendered. Valid values are html
, value
, and storage
(default).
This parameter refers to the representation returned on the request.