07-11-2019 12:06 AM - edited 07-11-2019 12:12 AM
Our customer has an Opportunity tabpage with a lot of checkboxes.
Now they like to have an add-on that automatically checks checkboxes based on the checked-state of other checkboxes.
Now I know that I can use MutableEntityFieldDescriptor's SetValue followed by a currentOpportunity.Update() form a FieldChanged event, but then the layout isn't updated (it's only visible when you save the opportunity)
Using UIContactManager.RefreshLayout() crashes Act! and I think isn't the way. I want a snappy way, so that instantly the affected checkboxes can be set checked/unchecked by the add-on (or that the affected checkbox fields on the layout are automatically invalidated/redrawn).
How do we do that?