Last modified by Thomas Mortagne on 2023/10/13

<
From version < 28.1 >
edited by Guillaume Delhumeau
on 2015/09/23
To version < 32.1 >
edited by Guillaume Delhumeau
on 2015/09/23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -242,9 +242,9 @@
242 242  
243 243  === New Rename/Delete Jobs ===
244 244  
245 -New code has been developed to support Nested Documents/Nested Spaces and Script Services have been provided and they now run inside Jobs to better handle the fact that they are long-running operations.
245 +New code has been developed to support Nested Pages/Nested Spaces and Script Services have been provided and they now run inside Jobs to better handle the fact that they are long-running operations.
246 246  
247 -However you can start to test this by using the following Script Services APIs:
247 +The corresponding Script Services APIs have been added:
248 248  
249 249  * Copy a Space(((
250 250  {{code language="none"}}
... ... @@ -267,7 +267,7 @@
267 267  $services.refactoring.move($source, $destination).join()
268 268  {{/code}}
269 269  )))
270 -* Move a Document(((
270 +* Move a Page(((
271 271  {{code language="none"}}
272 272  #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome'))
273 273  #set ($destination = $services.model.resolveSpace('Path.To.New.Parent'))
... ... @@ -280,13 +280,13 @@
280 280  $services.refactoring.rename($source, 'NewName').join()
281 281  {{/code}}
282 282  )))
283 -* Rename a Document(((
283 +* Rename a Page(((
284 284  {{code language="none"}}
285 285  #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome'))
286 286  $services.refactoring.rename($source, 'NewName').join()
287 287  {{/code}}
288 288  )))
289 -* Delete a Document(((
289 +* Delete a Page(((
290 290  {{code language="none"}}
291 291  #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome'))
292 292  $services.refactoring.delete($source).join()
... ... @@ -298,13 +298,13 @@
298 298  $services.refactoring.delete($source).join()
299 299  {{/code}}
300 300  )))
301 -* Convert a Terminal Document to a Nested Document(((
301 +* Convert a Terminal Page to a Nested Page(((
302 302  {{code language="none"}}
303 303  #set ($source = $services.model.resolveDocument('Path.To.Page'))
304 304  $services.refactoring.convertToNestedDocument($source).join()
305 305  {{/code}}
306 306  )))
307 -* Convert a Nested Document to a Terminal Document(((
307 +* Convert a Nested Page to a Terminal Page(((
308 308  {{code language="none"}}
309 309  #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome'))
310 310  $services.refactoring.convertToTerminalDocument($source).join()
... ... @@ -313,10 +313,9 @@
313 313  
314 314  === New create action parameters and logic ===
315 315  
316 -The create action now accepts a ##spaceReference## parameter and a ##name## parameter, together with an optional ##tocreate=terminal## parameter (usable on non-terinal documents). The previous space parameters was not scalable in the context of Nested Spaces since it was just a top-level space name so it did not allow the creation of deeper space levels. More details are available in the [[create action's documentation>>platform:DevGuide.Standard URL Format||anchor="HAction:create"]].
316 +The create action now accepts a ##spaceReference## parameter and a ##name## parameter, together with an optional ##tocreate=terminal## parameter (usable on non-terminal pages). The previous space parameters was not scalable in the context of Nested Spaces since it was just a top-level space name so it did not allow the creation of deeper space levels. More details are available in the [[create action's documentation>>platform:DevGuide.Standard URL Format||anchor="HAction:create"]].
317 317  
318 -These logic is now also available in the improved create UI, with the terminal pages option appearing only for advanced users and being checked or unchecked by default, depending on the type of the current document:
319 -{{image reference="[email protected]"/}}
318 +As explained previously, these logic is also available in the improved create UI, with the terminal pages option appearing only for advanced users and being checked or unchecked by default, depending on the type of the current page.
320 320  
321 321  == New Reference-related APIs ==
322 322  
... ... @@ -396,7 +396,7 @@
396 396  
397 397  === New components to generate REST URLs ===
398 398  
399 -* The component ##RestURLGenerator## has been added. Its role, in the long terme, is to generate a REST URL for any kind of EntityReference. It currently handles ##DocumentReference## and ##SpaceReference##.
398 +* The component ##RestURLGenerator## has been added. Its role, in the long term, is to generate a REST URL for any kind of EntityReference. It currently handles ##DocumentReference## and ##SpaceReference##.
400 400  * The corresponding script service has been added: ##$services.rest## with the method ##$services.rest.url($entityReference)##.
401 401  
402 402  === Resolve nested spaces in JavaScript ===
... ... @@ -482,7 +482,7 @@
482 482  
483 483  == Updated Document Tree Macro ==
484 484  
485 -The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] now supports Nested Documents and Nested Spaces modes. Specifically, the following changes have been made:
484 +The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] now supports Nested Pages and Nested Spaces modes. Specifically, the following changes have been made:
486 486  
487 487  * removed the ##showSpaceAsDocument## parameter (was introduced recently in 7.2M1)
488 488  * deprecated the ##showChildDocuments## parameter
... ... @@ -490,7 +490,7 @@
490 490  
491 491  As a result, you can use the document tree macro like this:
492 492  
493 -* Nested Document Tree(((
492 +* Nested Page Tree(((
494 494  {{code language="none"}}
495 495  {{documentTree/}}
496 496  {{/code}}
... ... @@ -500,12 +500,12 @@
500 500  {{documentTree showSpaces="true" /}}
501 501  {{/code}}
502 502  )))
503 -* Parent-Child Document Tree(((
502 +* Parent-Child Page Tree(((
504 504  {{code language="none"}}
505 505  {{documentTree hierarchyMode="parentchild" /}}
506 506  {{/code}}
507 507  )))
508 -* Old Document Index Tree (i.e. Parent-Child mixed with space grouping)(((
507 +* Old Page Index Tree (i.e. Parent-Child mixed with space grouping)(((
509 509  {{code language="none"}}
510 510  {{documentTree hierarchyMode="parentchild" showSpaces="true" /}}
511 511  {{/code}}

Get Connected