How to filter the list of contacts for primary contact for an account in Dynamics CRM 4.0
First add Parent Customer to the Contact lookup view.
Then add the following code to the Form Load event:
if ( crmForm.ObjectId != null)
{
var name = crmForm.all.name.DataValue;
crmForm.all.primarycontactid.additionalparams = 'search=' + name;
}
Currently rated 1.5 by 11 people
- Currently 1.454545/5 Stars.
- 1
- 2
- 3
- 4
- 5