Space Index Macro

The "Space Index" macro is bundled with XWiki Enterprise and it is used for instance when creating a space with the "Space Dashboard" template. The macro displays the list of pages for a space passed as parameter, provided the user has view rights on the space.

The "Space Index" macro also displays pages marked as hidden. 


{{spaceindex space="<space>" count="<count>" /}}


NameOptionalAllowed ValuesDescriptionDefault Value
spaceYesAny stringThe name of the space for which to display the document index.If no value is specified, the macro will use the current space.
countYesA numberThe maximum number of documents to display. In case you want to display all documents, the value should be "0".100


{{spaceindex space="XWiki" count="50" /}}

will display


In case the space has more documents than the value of the count parameter, the macro will display a message similar to "and X more documents in space Y" along with a link to the space index page.

The "Create a new page" link will only appear for users having the necessary permissions like edit or admin.


Related Pages

Search this space


Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]