Community
Showing results for 
Search instead for 
Do you mean 
Reply

Layout update after FieldChange

Highlighted
Copper Contributor
Posts: 167
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?

Greetings,

ACT Certified Consultants
TendenZ
the Netherlands