locked
Error using Quick Create Form on custom entity RRS feed

  • Question

  • Hello,

    I have a new relationship between opportunity and a custom entity. Now I want to use quick create form for my custom entity. Then from the opportunity form, I click on the "new" action inside the custom lookup field but nothing happens and I have a JavaScript error... The quick create form has no JS code. The contact quick create form works fine. And the quick create form for my custom entity works if you click on the Add button on the main ribbon... so I'm lost... I've tried also with Chrome and IE, same result. May be I'm doing something wrong...

    Any help will be very apreciated.

    Thank in advance to everybody.


    The error:

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get property 'getAttribute' of undefined or null reference</Message>
       <Line>16</Line>
       <URL>/_common/JsProvider.ashx?ids=1545465446-1759665639-1968334880-202661451-1025323794-1793205875-1547461133-1992083491-1000289424-159335543-1376927455-1030632819-1181113682-1314140682-1194605645-1039841082-513446117-1625018438-1460109179-1088147315-706656670-342519603-542820515-1946640899-1603536461-468302605-1405388298-1220618931-511599809-1264077421-1188909594-783705869-374257838-502328314-2050812538-512064351&ver=1313516505</URL>
       <PageURL>/main.aspx?etc=3&extraqs=%3fformid%3d5b6f6723-db6e-40f2-9ca5-b78678b1076b%26id%3d%257b4F3786B4-4C0E-E411-93F6-0050569D1A22%257d%26rof%3dtrue%26rskey%3d200436436%26setlastviewed%3dtrue%26theme%3dOutlook15White&pagemode=iframe&pagetype=entityrecord&rof=true&rskey=200436436</PageURL>
       <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("glob</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("globalqctimestamps_{0}",$v_1),$v_6=null;if(!IsNull($v_4)&&$v_5in$v_4)$v_6=$v_4[$v_5];var$v_7,$$t_A,$$t_B,$v_8=($$t_B=this.$2Y_4($$t_A={val:$v_7}),$v_7=$$t_A.val,$$t_B);Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.launchGlobalQuickCreate(this.$1Z_4,$v_3,parseInt($v_2.getAttribute("entityTypeCode")),$v_6,$v_8,$v_7,$v_0)}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>es-ES</SystemLanguage>
       <UserLanguage>es-ES</UserLanguage>
       <ScreenResolution>1364x768</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-09-01T16:13:52</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>3082</OrgLanguage>
        <OrgCulture>3082</OrgCulture>
        <UserLanguage>3082</UserLanguage>
        <UserCulture>3082</UserCulture>
        <OrgID>{8704CF11-2D0C-E411-93F6-0050569D1A22}</OrgID>
        <UserID>{3DDB30DE-B80C-E411-93F6-0050569D1A22}</UserID>
        <CRMVersion>6.1.0.581</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>


    Francisco

    Monday, September 1, 2014 4:13 PM

All replies

  • It looks like product error message.

    If it's happening on production, You can suppress the error message. Settings -> Administration ->Privacy Preferences -> Select Never send error report to Microsoft

    Regards,

    Prabhu


    Prabhu G

    Tuesday, September 2, 2014 12:42 PM
  • I had the very same error message when trying to create a new Contact record from the Lookup on a custom entity.   It looks to be a core application issue, and it looks like it has been fixed in CRM 2013 SP1 UR1 (6.1.1.132).  We were previously on CRM 2013 SP1 (6.1.0.581).  
    Tuesday, February 3, 2015 7:55 PM