Reinit_Sandbox
Version 3.1 by Pascal Bastien on 2014/07/10 19:08
Velocity Macro to reinitialize the SandBox from a SandBox template |
Type | XAR |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
This XAR provide a macro to reinitialize periodically the SandBox space and overwriting by a SandBox template space.
This XAR add this documents:
- Velocity code to launch manually (and/or by scheduler) SandBox reinitialisation
- SandboxTemplate.ReinitSandboxMacro
- Template space of Sandbox:
- SandboxTemplate.WebHome (all languages are present)
- SandboxTemplate.TestPage1
- SandboxTemplate.TestPage2
- SandboxTemplate.TestPage3
- ACL to forbiden SanboxTemplate space dor XWikiAllGroup
- SandboxTemplate.WebPreferences
*Scheduler to launch automaticaly the reinitialisation:
- Scheduler.Reinit Sandbox from SandboxTemplate
If you click on "Reinitialisation of Sandbox space (without confirmation)" on SandboxTemplate.ReinitSandboxMacro, the macr
- erase ALL Sandbox space
- overwriting Sandbox by this space 'SandboxTemplate'
- and unhide Sandbox space
Of course, it is recommended to backup your Sandbox space before and test with this link: "Mode Debug: 'Reinitialisation of Sandbox space' (without modification)"
Prerequisites & Installation Instructions
By default the macro is not scheduled. You must schedule it and choose periodicity in ... scheduler.