<
From version < 20.1 >
edited by Guillaume Delhumeau
on 2014/10/27
To version < 21.1 >
edited by Guillaume Delhumeau
on 2014/10/27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -165,6 +165,7 @@
165 165  = Get some informations about the current document =
166 166  
167 167  In your javascript's applications, you can get some (meta) informations about the current document, though an AMS module.
168 +
168 168  {{code language="javascript"}}
169 169  require(['xwiki-meta'], function (xm) {
170 170   xm.document // get he current document (eg: Main.WebHome)

Get Connected