https://github.com/imsweb/ims.fieldupdater
Update Plone content based on a schema
https://github.com/imsweb/ims.fieldupdater
plone plone5x zope3
Last synced: 6 days ago
JSON representation
Update Plone content based on a schema
- Host: GitHub
- URL: https://github.com/imsweb/ims.fieldupdater
- Owner: imsweb
- Created: 2018-05-23T18:54:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2026-03-18T18:49:13.000Z (3 months ago)
- Last Synced: 2026-03-19T07:19:12.974Z (3 months ago)
- Topics: plone, plone5x, zope3
- Language: Python
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changes/.gitignore
Awesome Lists containing this project
README
# ims.fieldupdater
This project was inspired by Products.KeywordManager and applies some of its ideas to replacing schema field values
on content. Unlike that package, this one is based on schema field and not KeywordIndex. This allows you to change
different kinds of values whether or not they are indexed, but it is also a more expensive process.
## Process
- Select a schema. This is an object_provides value and/or a registered Dexterity behavior
- Select a field
- (DataGridField only - select one of the DictRow keys)
- Select one of the existing values on the site to constitute a match
- Enter a new value to replace the match (if replacing)
- Delete or replace
## The power of zope.schema
One of the nice things about zope.schema is that once we know which field
we are changing, we can look it up in the schema and use it for
- rendering an input widget
- data extraction/parsing
- validation