Changes for page Release Notes for XWiki 7.2 Milestone 2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -140,6 +140,18 @@ 140 140 {{/code}} 141 141 ))) 142 142 143 +== Reference Scripting API for Nested Spaces == 144 + 145 +The Script API for Entity References has been updated with new APIs to support creating Nested Spaces references. For example: 146 + 147 +{{code language="none"}} 148 +{{velocity}} 149 +$services.model.createDocumentReference("wiki", ["space1", "space2"], "page") 150 +$services.model.createDocumentReference("wiki", ["space1", "space2"], "page", "default") 151 +$services.model.createSpaceReference(["space1", "space2"], $services.model.createWikiReference("wiki")) 152 +{{/velocity}} 153 +{{/code}} 154 + 143 143 == Miscellaneous == 144 144 145 145 * Custom displayers are now executed with the Rights of the user who wrote them (i.e. author of the class document or content author of the displayer document), and not the Rights of the user who wrote the script that uses them (i.e. current context document's content author). See [[XWIKI-12306>>http://jira.xwiki.org/browse/XWIKI-12306]] for more details. ... ... @@ -162,6 +162,7 @@ 162 162 {{/code}} 163 163 ))) 164 164 * Better support of non-DOCUMENT ##EntityReferences## in ##DocumentReferenceConverter##. It now behaves like ##XWiki#getDocument(EntityReference)## 177 +* The Copy/Rename/Delete UI actions are now using the [[Refactoring Module's Script Services>>extensions:Extension.Refactoring Module]]. 165 165 166 166 == Deprecated and Retired projects == 167 167