cogBatch updater for property of objects in multiple wikis
TypeXAR
Developed by

Anca Luca, Sidali djebloun

Active Installs8
Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

Batch property updater for objects in multiple wikis.

It is currently split in two separate tools:

  • Farm Field Value Updater (FarmTools.FarmFieldValueUpdater)
  • Farm Preferences Updater (FarmTools.FarmPreferencesUpdater)

Both tools allows to change the value of a given object property from one value to another. You select the name of the document containing the object to change (without wiki prefix), and the same document in all wikis will get its object property updated. The object selected is always the first object matching the object class to be updated.

In the Farm Field Value Updater, you can freely choose the object class you want to update, and you can set a constant value to one of its properties.

In the Farm Preferences Updater, the object is always of class 'XWiki.XWikiPreferences', so only properties of this class could be updated. The update is done using a RegEx and a replacement value, so you have the ability to manipulate the existing value to produce the new one.
Additionally, in this second tool, there is a special property named "doc.parent", which allows you to update the parent of any chosen document using the same RegEx mechanism.

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
2.0XWiki Enterprise 5.3

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Dependencies

Dependencies for this extension (org.xwiki.contrib.farmtools:application-farm-property-updater 2.3):

Tags:
Created by Denis Gervalle on 2015/03/05 20:03
    

Get Connected