Use
With this tool you can set one or more properties on repository files.
|
The Hippo CMS properties namespace is http://hippo.nl/cms/1.0 |
Getting the code
The code is available in SVN![]()
Compile and run as described in Hippo Webdav Batch Processor plugins.
Sample configuration
In this sample it will set the property bar with value agenda to all files in /files/default.preview/content. It will only set the property foo with value agenda if this property does not exist.
location.host=localhost location.port=60000 location.rootpath=/default location.path=/files/default.preview/content authentication.username=root authentication.password=password plugin.1.classname=nl.hippo.webdav.batchprocessor.setproperties.SetProperties plugin.1.configuration.property.1.namespace=http://hippo.nl/cms/1.0 plugin.1.configuration.property.1.name=bar plugin.1.configuration.property.1.value=agenda plugin.1.configuration.property.1.overwrite=true plugin.1.configuration.property.2.namespace=http://hippo.nl/cms/1.0 plugin.1.configuration.property.2.name=foo plugin.1.configuration.property.2.value=agenda plugin.1.configuration.property.2.overwrite=false