Skip to main content

Update all objects in Plone based on a schema/field strategy

Project description

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

Changelog

[1.0]

  • Initial launch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ims.fieldupdater-2.0.2.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

ims.fieldupdater-2.0.2-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page