Showing results for 
Search instead for 
Do you mean 

Layout update after FieldChange

Copper Contributor
Posts: 220
Country: Netherlands

Layout update after FieldChange

[ Edited ]

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?


ACT Certified Consultants
the Netherlands