Dashboard > Hippo CMS > ... > Hippo Webdav Batch Processor plugins > Hippo Setproperties
Hippo Setproperties
Added by Jasha Joachimsthal, last edited by Niels van Kampenhout on May 09, 2007  (view change)
Labels: 
(None)


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

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.7 Build:#813 Aug 28, 2007) - Bug/feature request - Contact Administrators