Hello,

See in scripting guide [1] on how to display/hide some sections of the
page, including history.

That doesn't deactivate document versioning though, it would simply remove
the history tab from your sheet so users would not be able to restore older
versions.

To completely deactivate versioning see [2]

BR,
Jeremie

[1] -
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhichSectionstoDisplay
[2] -
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDocumentversioning


2014-09-02 16:40 GMT+02:00 Pascal BASTIEN <[email protected]>:

> Hello,
> Are there a way to deactivate document versioning for all document in a
> particular space?
>
> I'm writing a piece of Xwiki application: I indicate  my
> XWiki.ClassSheetBinding and in my sheet document I wanted to forbidden
> users to use revision tools in new entries/document (I want to prevent the
> user to restore an older version).
>
>
>
> Thxs
>
> Pascal B
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to