Binding controls in Infor CRM (Saleslogix) Web forms will also automatically disable controls based on field level security for the current user. But what if you want to override that behavior? You might want to still allow a user to add data into those controls on an insert screen even though they would normally be disabled based on FLS for the user.
The control bindings include the ability to override this behavior. You simply loop through all bindings on the form and tell it to ignore the FLS rules and not disable the control.
foreach (Sage.Platform.EntityBinding.IEntityBinding eb in BindingSource.Bindings) { WebEntityBinding wb = eb as WebEntityBinding; wb.IgnoreFLSDisabling = true; }
You would put that code into a LoadAction on the form (make sure it’s RepaintEvent property is set to true)