collective.contentrules.setfield
Introduction
This content rule lets you set the value of fields on a content object.
The rule lets you enter PythonScript and you return a dictionary of fields and their values.
The package defines an ‘Objects parent modified’ trigger so that the rule can be triggered when an objects parent is modified.
Changelog
0.9.1 (2021-08-05)
Fixed running setfield when using the update_all option instead of the object that triggered the content rule #27 [JeffersonBledsoe]
Added black, isort and flake8 #28 [JeffersonBledsoe]
0.9.0 (2021-07-27)
Initial release. [instification]
Add configurable option to set values on all content that would match the executing rule. [instification]
Add configurable option to preserve modification date of updated objects. [instification]
Add ‘Objects parent modified’ trigger and handler to contentrules. [instification]
Add unit tests. [JeffersonBledsoe]
Ensure only dexterity fields can be set and values are valid or error thrown [djay]
Fix bug where object with no workflow would prevent rule being fired [djay]
Metadata
Release files for collective.contentrules.setfield 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.contentrules.setfield-0.9.1.tar.gz | 16.4 kB | Without provenance | Details for collective.contentrules.setfield-0.9.1.tar.gz |
Release files / collective.contentrules.setfield-0.9.1.tar.gz
| Download URL | collective.contentrules.setfield-0.9.1.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d7bbb8ab8316df44841ca06568b893c872b56ce02867bd6da2fb880a7ac78d9
|
|
BLAKE2b-256 checksum How to use checksums |
3ad176ac24b15ad603a284da565086b8817dcce0c2b50de365307dd4f51f3cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.8.1 pkginfo/1.7.0 requests/2.9.2 setuptools/44.1.0 requests-toolbelt/0.9.1 clint/0.5.1 CPython/2.7.17 Darwin/20.6.0
|
Security for collective.contentrules.setfield 0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.