How to modify collection as result of property change #3228
-
Hi there, Considering that the only way to modify property value as a result of some other property value change is to use a rule initialized with affected property and call AddOutValue on the context for a given affected/dependent property. Keeping that in mind, how to change the collection exposed by dependent property so that items can be added or removed once the primary property is changed without changing the instance of the collection? In other words, if I had a property named "Type", every time its value is changed I want to add or remove some items of the child collection exposed by property named "Cells". Thanks, --- ngm |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Both 'Type' and child collection properties should be 'sent' to the business rule. |
Beta Was this translation helpful? Give feedback.
Both 'Type' and child collection properties should be 'sent' to the business rule.
I think in this case you have to use the 'Target' inside the business rule.