transmogrifier.bastioncallcentre is package of transmogrifier blueprints for uploading content
via Zope XML-RPC API to a BastionCallCentre/CRM site.
Plone site does not need any modifications, but vanilla Zope XML-RPC is used.
Usage
Common Options
target
Url of BastionCallCentre to upload content. You will need to include the username and password using the url syntax. e.g. http://user:password@site.com/helpdesk. If you'd prefer not to hardcode your password in a pipeline.cfg you can use mr.migrator which lets you override your pipeline using the commandline.
path-key
Which blueprint item dictionary key is used to extract the remote path information or the item. Default value path .
transmogrify.bastioncallcentre.constructor
Drop in replacement for constructor that will use xmlprc calls to construct content on a remote plone site
Options:
target: see Common Options
path-key: see Common Options
type-key: Key of the field with item type to create. Defaults to type ,portal_type , Type ,_type
creation-key: Key of the field to determine if item should be created. Defaults to _creation_flag
alias-key: Key of the field with a path of where the original content was found such as by transmogrifier.webcrawler. transmogrify.bastioncallcentre.remoteredirector will set this path as an alias which allows the constructor to find the same content if it is run a second time even if a the items desired path has changed. Defaults to _origin_path .
create-condition:
TAL expression to determine if item should be added. Defaults to python:True
move-condition: If the content has already been uploaded and then moved this TAL expression will determine if the content should be moved back. Default is python:True
remove-condition:
If the content has already been uploaded and is of a different type this TAL expression will determine if the item can be removed and recreated.
|