pimcore-dynamic-search icon indicating copy to clipboard operation
pimcore-dynamic-search copied to clipboard

Add Relation Management

Open solverat opened this issue 11 months ago • 0 comments

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

dynamic_search:
    context:
        default:

            relation_management:
                -
                    class: Car
                    relations:
                        -
                            name: parts 
                            options: []

This will add an Eventlistener to the Car Object (preUpdate) which adds all relations (Only the configured ones from dynamic_search.context.[...CONTEXT].data_provider.options.always) from the given property parts to the DS queue (Within the postUpdate event!)

solverat avatar Jan 08 '25 08:01 solverat