Bug with Binding a Picklist Control in the Infor CRM (formerly Saleslogix) Web Client v8.1 Core Update 3b

I just recently discovered a bug when using a picklist control with the  StorageMode set to “ID”.  If you are trying to preset a value on the form load, you would normally bind the underlying entity property that the control is bound to.  That works fine for picklists set to StorageMode=Text but for the ID mode it does not display a value.  Instead you also need to populate the web control’s PickListValue property as well.  That forces the data to properly show

So a code snippet might look like this

Sage.Entity.Interfaces.ITicket t = this.BindingSource.Current as Sage.Entity.Interfaces.ITicket;

t.StatusCode = “Some picklist ID”;

MyPicklistControl.PickListValue = “Some picklist ID”

ABOUT THE AUTHOR

Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

Submit a Comment

Your email address will not be published.

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!