Dear,
I am getting below error When I am trying to select a record using lookup on Case entity.
Microsoft Dynamics CRM Error Report Contents<CrmScriptErrorReport><ReportVersion>1.0</ReportVersion><ScriptErrorDetails><Message>Unable to get value of the property 'getAttribute': object is null or undefined</Message><Line>891</Line><URL>/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=10020&DefaultViewId=BB7B71FC-7251-438E-B217-D3508990CE05&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=false&objecttypes=10020</URL><PageURL>/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=10020&DefaultViewId=BB7B71FC-7251-438E-B217-D3508990CE05&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=false&objecttypes=10020</PageURL><Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function><CallStack><Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function><Function>openStdDlg(url,winArguments,width,height,resizable,modeless,customWinParams,functionReference)</Function><Function>openStdDlgWithCallback(url,winArguments,width,height,functionReference,resizable,modeless,customWinParams)</Function><Function>LookupObjects(lookupField,lookupStyle,lookupTypes,lookupBrowse,bindingColumns,additionalParams,showNew,showProp,bPopulateLookup,defaultType,searchString,dataProviderOverride,defaultViewId,customViews,filterRelationshipId,rId,rType,rDependAttr,allowFilterOff,disableQuickFind,disableViewPicker,viewsIds,crmAttributeId,callbackReference)</Function><Function>LookupObjectsWithCallback(callbackReference,lookupField,lookupStyle,lookupTypes,lookupBrowse,bindingColumns,additionalParams,showNew,showProp,bPopulateLookup,defaultType,searchString,dataProviderOverride,defaultViewId,customViews,filterRelationshipId,rId,rType,rDependAttr,allowFilterOff,disableQuickFind,disableViewPicker,viewsIds)</Function><Function>anonymous(ignoreOnClick,noDialog,searchValue,asyncOperation){if(this.get_readOnly())return;var$v_0=this.get_element().onclick;if(ignoreOnClick||IsNull($v_0)){!noDialog&&!Mscrm.Utilities.isIosDevice()&&this.setFocus(null);this.RaiseSetAdditionalParamsEvent();var$v_1=this.getLookupField(),$v_2=null;if(noDialog){this.$22_4(asyncOperation);return}var$v_3=newMscrm.FormInputControl.ShowDialogEventArgs($v_1);if(!Mscrm.Utilities.isModalDialogSupported()){var$v_4=[$v_2];$v_3.$q_1=Mscrm.Utilities.createCallbackFunctionObject("callbackForShowDialog",this,$v_4)}if(this.$2Q_4($v_3))$v_2=$v_3.$l_1;else{var$v_5=this.$1X_4(),$v_6=this.$f_4(),$v_7=this.$15_4($v_6),$v_8=this.$1Y_4($v_6);if(!IsNull($v_6)&&!isNullOrEmptyString($v_7)){this.AddParam("currentid",$v_7);!isNullOrEmptyString($v_8)&&this.AddParam("currentObjectType",$v_8)}var$v_9=this.get_element().getAttribute("allowFilterOff");$v_9=!IsNull($v_9)?$v_9:null;var$v_A=this.get_element().getAttribute("disableQuickFind");$v_A=!IsNull($v_A)?$v_A:null;var$v_B=this.get_element().getAttribute("disableViewPicker");$v_B=!IsNull($v_B)?$v_B:null;var$v_C=this.get_element().getAttribute("availableViewIds");$v_C=!IsNull($v_C)?$v_C:null;var$v_D=Mscrm.Utilities.createCallbackFunctionObject("handleAfterLookup",this);$v_2=LookupObjectsWithCallback($v_D,$v_1,this.get_lookupStyle(),this.get_lookupTypes(),this.get_lookupBrowse(),this.$C_4,this.get_additionalParams(),1,this.get_showProperty(),false,this.get_defaultType(),searchValue,this.get_dataProviderOverride(),this.get_defaultViewId(),this.get_customViews(),$v_5.$W_0,$v_5.$Q_0,$v_5.$d_0,$v_5.$V_0,$v_9,$v_A,$v_B,$v_C)}Mscrm.Utilities.isModalDialogSupported()&&this.handleAfterLookup($v_2)}}</Function><Function>anonymous(domEvent){if(this.get_isInlineLookup()&&!this.$i_4)if(!IsNull(this.get_element().getAttribute("isDeDupLookup"))&&this.get_element().getAttribute("isDeDupLookup").toString()==="1"&&!isNullOrEmptyString(this.$1Z_4()))this.$2d_4();elsethis.showSearchResults();elsethis.Lookup(false,false,"",false)}</Function><Function>anonymous(){returnb.apply(a,arguments)}</Function><Function>anonymous(b){returne.call(a,newSys.UI.DomEvent(b))}</Function></CallStack></ScriptErrorDetails><ClientInformation><BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)</BrowserUserAgent><BrowserLanguage>en-US</BrowserLanguage><SystemLanguage>en-US</SystemLanguage><UserLanguage>en-US</UserLanguage><ScreenResolution>1366x768</ScreenResolution><ClientName>Web</ClientName><ClientTime>2013-03-08T19:16:10</ClientTime></ClientInformation><ServerInformation><OrgLanguage>1033</OrgLanguage><OrgCulture>1033</OrgCulture><UserLanguage>1033</UserLanguage><UserCulture>1033</UserCulture><OrgID>{5F7ED9F0-B725-406A-B3F8-B71D8D9CDBBA}</OrgID><UserID>{D177E468-0167-E211-A87E-78E7D162BAE6}</UserID><CRMVersion>5.0.9690.3339</CRMVersion></ServerInformation></CrmScriptErrorReport>
Please suggest me some solution.Same lookup is working fine in Mozilla.
Regards,
Yusuf
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Mohammad Yusuf Ansarihttp://microxrm.blogspot.in