Creates Plone content objects from EasyForm submissions.
Easyform action to create Plone/Dexterity content items.
Converters to meet the target fields requirements for example a data_handler to add timezone info to be able to create events.
- Install the addon within your Plone site
- From the actions menu choose edit actions and add a new action
Create dexterity content
- Choose a location where the items should be create
- Choose the desired content type
- Map your form field ids to the item field ids and add converters as needed
plaintext_to_intellitext
- converts plain text to html
datetime_with_timezone
- adds portal default timezone to datetime
file_converter
- takes a fileupload and converts it to a named blob file,
Field mapping format: formFieldId itemFieldId:converter
.
The converter
is optional, value is taken as is.
Latter implies value types are matching in EasyForm (form field) and target schema (item feld)!
Make sure you have at least eiter the title
or id
mapping defined, because it will also be used to create the id of the item!
Example:
topic title comments text:plaintext_to_intellitext event_start start:datetime_with_timezone video_upload file:fileupload_converter
There have been ZODB transaction issues, turn off versioning for easyform as a workaround.
- Issue Tracker: https://github.com/collective/collective.easyformplugin.createdx/issues
- Source Code: https://github.com/collective/collective.easyformplugin.createdx
- Documentation: https://docs.plone.org/foo/bar
If you are having issues, please let us know on the issue tracker.
The project is licensed under the GPLv2.