<
From version < 64.2 >
edited by Eduard Moraru
on 2015/07/16
To version < 64.3 >
edited by Eduard Moraru
on 2015/07/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -182,13 +182,21 @@
182 182  
183 183  === Parameter: ##name## ===
184 184  
185 -{{info}}Since 7.2M1{{/info}} A string representing the name of the new document, e.g. "NewDocument"
185 +{{info}}Since 7.2M1{{/info}} A string representing the name of the new entity, e.g. "NewDocument".
186 186  
187 +Depending on the type of document to create, this will be used as:
188 +
189 +* a space name, when creating non-terminal documents, e.g. spaceReference=Space&name=Page results in creating "Space.Page.WebHome"
190 +* a document name, when creating terminal documents, e.g. spaceReference=Space&name=Page&tocreate=terminal results in creating "Space.Page"
191 +
187 187  === Parameter: ##tocreate## ===
188 188  
189 189  Accepted values:
190 190  
191 -* empty or not specified - the new document (current document if it does not exist or document specified using the spaceReference + name parameters pair) is created as a terminal document. I.e. no matter if it is Space.WebHome or Space.Page, it will create it as is, without other interpretations.
196 +* empty or not specified:
197 +** if the current document does not exist, a terminal document will be created having the current document's reference
198 +** if the current document exists, the new document (specified using the spaceReference + name parameters pair) is created as a non-terminal document
199 +** {{warning}}Deprecated since 7.2M1{{/warning}} if the current document exists, the new document (specified using the deprecated space + pageName parameters pair) is created as a terminal document
192 192  * "terminal" - forces the new document to be a terminal document.
193 193  ** Example: If "Space1.Space2.Page" is to be created, then it is already a terminal document and is not affected in any way by this setting, but if "Space1.Space2.WebHome" is to be created then it would be a non-terminal document by default. In this later case, specifying the tocreate=terminal parameter would force the creation of a terminal document instead, result in the creation of ##Space1.Space2## (i.e. the page named "Space2" in the space "Space1"), effectively going up one level in the Nested Spaces hierarchy.
194 194  ** In the case of a top level space's WebHome document (e.g. "Space.WebHome"), this setting is ignored, since the top limit of the hierarchy is reached and there is nowhere else to go up. The resulting document to be created is thus "Space.WebHome".

Get Connected