basilicom / pimcore-data-quality-bundle
Data Quality Bundle for Pimcore
Installs: 9 926
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 10
Forks: 8
Open Issues: 5
Type:pimcore-bundle
Requires
- php: >=8.0
- pimcore/admin-ui-classic-bundle: ^1.0
- pimcore/pimcore: >=11
README
Depending on user-configurable weighted rules (data quality configuration objects) one- or multiple quality values are computed and stored in data objects.
Version
Installation
- 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
Configuration
Add field to object class
Add new DataQualityConfig
- Add a new data object of type
DataQualityConfig
in your object tree
Rules
- 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.
Multilanguage Fields
- 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
Object Bricks
Layout Component Data Quality
(Optional)
- Add the new field type
Data Quality
from the Layout Components to the chosen object class
Data Quality calculation is updated
- 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>
Grid View
- 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