https://github.com/collective/collective.easyformplugin.createdx
Creates Plone content objects from EasyForm submissions.
https://github.com/collective/collective.easyformplugin.createdx
easyform plone
Last synced: 3 months ago
JSON representation
Creates Plone content objects from EasyForm submissions.
- Host: GitHub
- URL: https://github.com/collective/collective.easyformplugin.createdx
- Owner: collective
- License: gpl-2.0
- Created: 2019-07-25T06:40:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T16:28:53.000Z (over 4 years ago)
- Last Synced: 2025-09-07T20:46:43.314Z (9 months ago)
- Topics: easyform, plone
- Language: Python
- Homepage: https://pypi.org/project/collective.easyformplugin.createdx/
- Size: 61.5 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.GPL
Awesome Lists containing this project
- awesome-plone - collective.easyformplugin.createdx - Creates Plone content objects from EasyForm submissions. (Content and utilities for content)
README
==================================
collective.easyformplugin.createdx
==================================
Creates Plone content objects from EasyForm submissions.
Features
--------
`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.
Documentation
-------------
- 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
Available converters
--------------------
``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,
Mapping
-------
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
Note
----
There have been ZODB transaction issues, turn off versioning for easyform as a workaround.
Contribute
----------
- 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
Support
-------
If you are having issues, please let us know on the issue tracker.
License
-------
The project is licensed under the GPLv2.