JavaScript Conversion: Creating a supported LookupControlItem method
In Dynamics CRM 4.0, you could use an unsupported internal function to create the value to be inserted into a Lookup control. The code would look something like this: var lookupItem = new Array(); lookupItem[0] = new LookupControlItem(“{3A6C1B06-C62F-DC11-AFC2-0019B9B20373}”, 1, “A Sales Store 3”); crmForm.all.pricelevelid.DataValue = lookupItem; This function still exists in Dynamics CRM 2011 […]
Continue reading