Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: RE: Unable to get property '0' of undefined or null reference Lookup field

$
0
0
Hi hussainahmad, please add your onchange event following code and try it, var proid = Xrm.Page.data.entity.attributes.get("productid").getValue(); if (proid != null && proid .length > 0) { var priority = proid [0].name;} or try this solution; Go to Opportunity Product Remove the ProductID field (which is causing issue) Publish all customization and be sure it is not in the Form Add again on the Form ProductID field then publish all customization Chack if you still see the issue

Viewing all articles
Browse latest Browse all 71679

Trending Articles