Depending on user-configurable weighted rules (data quality configuration objects) one- or multiple quality values are computed and stored in data objects.
Bundle Version | PHP | Pimcore |
---|---|---|
< 2.0 | ^7.3 | ^6.0 |
>= 2.0 | ^8.0 | ^10.0 |
>= 3.0 | ^8.0 | ^11.0 |
- Require the bundle using
composer require basilicom/pimcore-data-quality-bundle
- Enable the bundle
bin/console pimcore:bundle:enable DataQualityBundle
- Install the bundle
bin/console pimcore:bundle:install DataQualityBundle
- Add a new data object of type
DataQualityConfig
in your object tree
- Set Rules
- Choose the field you want to check
- Choose the condition you want to check for
- Some conditions need extra parameters. parameters are ; separated values.
- Set a weight or use 1 for default weight
- Localized fields: The condition current applies to ALL configured Pimcore system languages (the condition for a field is only valid, if it is valid in all languages) - this should be made configurable via configuration parameters in the future.
- you can setup multilanguage fields for all languages
- see example with
Name (NameDE) #All
(NameDE is just the complete fieldname)
- see example with
- you can also setup a test for just one language
- they will be presented differently in the view
- Add the new field type
Data Quality
from the Layout Components to the chosen object class
- The data quality value field is updated whenever
- an object is saved by a normal user (non-system user), or
- the data quality tab or iframe is displayed, or
- a full update (re-calculation) of all data quality values was performed via the console command:
bin/console dataquality:update <quality-config-id> <batch-size>
- You can use the "Operator PHP Code"
Authors:
- Conrad Guelzow (Basilicom GmbH)
- Kerstin Gerull (Basilicom GmbH)
- Christoph Luehr (Basilicom GmbH)
License: GPL v3, see LICENSE