restrict customer lookup to contacts bug

Posted by Amr H. Abdel Majeed on Stack Overflow See other posts from Stack Overflow or by Amr H. Abdel Majeed
Published on 2010-10-13T14:32:11Z Indexed on 2011/02/24 23:24 UTC
Read the original article Hit count: 361

I'm using microsoft dynamics crm 4

I inserted the following line to restrict a customer lookup to contacts only (no accounts):

crmForm.all.customerid.setAttribute("lookuptypes", "2");

It does restrict the lookup to contacts only, but there is a strange bug:

When i select any customer, the icon next to him becomes the account icon, not the contact icon (folder instead of card)

Any solutions to this ?

© Stack Overflow or respective owner

Related posts about dynamics-crm

Related posts about dynamics-crm-4