locked
MSCRM2013 New Alerts / View Alerts on Message Bar ( Notification bar ) - issue RRS feed

  • Question

  • hi

    We get some alert message on message bar of main window.

    New Alerts / Vew Alerts / Message Bar / Notification Bar

    1.

    This message is visible not always, may be the first couple of times when you open the CRM first page. Then it is not appearing anymore.

    Q: How to control this behavior when to show or when not ?

    2.

    When choosing View Alerts button it doesnt bring you to anywhere, doesnt work so to say.

    But when we close the window of browser we get error report dialog where the error is:

    Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get property 'argument' of undefined or null reference</Message>
       <ExceptionNumber>-2146823281</ExceptionNumber>
       <Line>0</Line>
       <URL>/main.aspx</URL>
       <PageURL>/main.aspx</PageURL>
       <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.Page</Function>
       <CallStack>
        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.PageManager.$1q)try{var$v_6=$v_5.handleEvent($p0,$p1,$p2);$v_0[$v_0.length]=$v_6}catch($v_7){catchError($v_7.message,window.location.href,0,true,$p4,$v_7.number)}}return$v_0}</Function>
        <Function>anonymous(eventCode,parameters,sourceComponent){var$v_0=false;try{if(window.location.href.toUpperCase().indexOf("OUTLOOK://")>=0)$v_0=true}catch($$e_4){return[]}if(IsNull(this.$Z_1))this.$4T_1++;var$v_1=[],$v_2;try{switch(eventCode){case0:if(!IsNull(this.$1L_1)){var$v_4=this.get_id()+"hastcemid=",$$dict_8=this.$1L_1;for(var$$key_9in$$dict_8){var$v_5={key:$$key_9,value:$$dict_8[$$key_9]};$v_4+=$v_5.key+","}alert($v_4)}break}var$v_3=arguments.caller;$v_2=this.$5E_1(eventCode,parameters,sourceComponent,true,$v_3);$v_1=$v_1.concat($v_2);$v_2=this.$5D_1(eventCode,parameters,sourceComponent,this.get_id(),false);$v_1=$v_1.concat($v_2);if(!$v_0&&!IsNull(this.$Z_1)){$v_2=this.$Z_1.bubbleEvent(eventCode,parameters,sourceComponent,this.$1p_1?this.$1u_1:this.get_id(),$v_3);$v_1=$v_1.concat($v_2)}}catch($v_6){catchError($v_6.message,window.location.href,0,true,null,$v_6.number)}finally{if(IsNull(this.$Z_1))this.$4T_1--}return$v_1}</Function>
        <Function>anonymous(eventCode,parameters){returnthis.$6_1.raiseEvent(eventCode,parameters,this)}</Function>
        <Function>goTo(sAreaId,sGroupId,sSubAreaId)</Function>
        <Function>anonymous(){try{window.top.goTo("Workplace","MyWork","nav_traces")}catch($$e_0){try{window.goTo("Workplace","MyWork","nav_traces")}catch($$e_1){var$v_0=$get(Mscrm.AppMessageBarActions.get_ContentFrameId());$v_0.setAttribute("src","/_root/tracewall.aspx")}}}</Function>
        <Function>anonymous(){Mscrm.AppMessageBarActions.showSystemAlerts()}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MALCJS)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>sv-SE</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1440x900</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2013-11-21T09:45:50</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1053</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{77083355-3B41-E311-93F4-00155D005D03}</OrgID>
        <UserID>{A7AD11B6-3D41-E311-93F4-00155D005D03}</UserID>
        <CRMVersion>6.0.0.809</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    But if we dont click the View Alerts button then we dont get error while closing the browser window.

    Background info: We importing the solution from MSCRM2011 into MSCRM2013.

    Searching in the internet didnt give much other than this topic which relates to MSCRM2011:

    http://social.microsoft.com/Forums/en-US/c1a83c8d-f6be-4aad-95c6-b0be7d1e2690/navigation-link-error-unable-to-get-value-of-the-property-getc3-object-is-null-or-undefined

    Q: How to fix this ?


    still in luck

    Thursday, November 21, 2013 11:29 AM

All replies

  • Hi! I had the same problem.

    Check out the site map is there a menu item "Alert" (SubArea Id = "nav_traces"). By definition, it is present in several areas, such as (Area Id = "MA" or Area Id = "CS").
    After transfer the solution from CRM 2011 to CRM 2013 getting an incorrect sitemap. I added the following code to the site map:

    <Group Id="Tools" ResourceId="Area_Tools" IsProfile="true" DescriptionResourceId="Area_Tools_Description">
              <SubArea Id="nav_reports" Entity="report" DescriptionResourceId="Reports_Description">
                <Privilege Entity="report" Privilege="Read" />
              </SubArea>
              <SubArea Id="nav_traces" Icon="/_imgs/area/18_alerts.png" Url="/_root/tracewall.aspx" ResourceId="Homepage_Alerts" AvailableOffline="false" DescriptionResourceId="Alerts_SubArea_Description">
                <Privilege Entity="tracelog" Privilege="Read" />
              </SubArea>
              <SubArea Id="nav_calendar" ResourceId="Homepage_Calendar" Icon="/_imgs/area/18_calendar.gif" Url="/workplace/home_calendar.aspx" Client="Web">
                <Privilege Entity="activitypointer" Privilege="Read" />
              </SubArea>
    </Group>

    Thursday, November 13, 2014 11:25 AM
  • Hi at all,

    the same error happens to me:

    Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Die Eigenschaft "argument" eines undefinierten oder Nullverweises kann nicht abgerufen werden.</Message>
       <ExceptionNumber>-2146823281</ExceptionNumber>
       <Line>0</Line>
       <URL>/main.aspx</URL>
       <PageURL>/main.aspx</PageURL>
       <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$2G_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.Page</Function>
       <CallStack>
        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$2G_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.PageManager.$1w)try{var$v_6=$v_5.handleEvent($p0,$p1,$p2);$v_0[$v_0.length]=$v_6}catch($v_7){catchError($v_7.message,window.location.href,0,true,$p4,$v_7.number)}}return$v_0}</Function>
        <Function>anonymous(eventCode,parameters,sourceComponent){var$v_0=false;try{if(window.location.href.toUpperCase().indexOf("OUTLOOK://")>=0)$v_0=true}catch($$e_4){return[]}if(IsNull(this.$b_1))this.$4o_1++;var$v_1=[],$v_2;try{switch(eventCode){case0:if(!IsNull(this.$1R_1)){var$v_4=this.get_id()+"hastcemid=",$$dict_8=this.$1R_1;for(var$$key_9in$$dict_8){var$v_5={key:$$key_9,value:$$dict_8[$$key_9]};$v_4+=$v_5.key+","}alert($v_4)}break}var$v_3=arguments.caller;$v_2=this.$5l_1(eventCode,parameters,sourceComponent,true,$v_3);$v_1=$v_1.concat($v_2);$v_2=this.$5k_1(eventCode,parameters,sourceComponent,this.get_id(),false);$v_1=$v_1.concat($v_2);if(!$v_0&&!IsNull(this.$b_1)){$v_2=this.$b_1.bubbleEvent(eventCode,parameters,sourceComponent,this.$1v_1?this.$22_1:this.get_id(),$v_3);$v_1=$v_1.concat($v_2)}}catch($v_6){catchError($v_6.message,window.location.href,0,true,null,$v_6.number)}finally{if(IsNull(this.$b_1))this.$4o_1--}return$v_1}</Function>
        <Function>anonymous(eventCode,parameters){returnthis.$9_1.raiseEvent(eventCode,parameters,this)}</Function>
        <Function>goTo(sAreaId,sGroupId,sSubAreaId)</Function>
        <Function>anonymous(){try{window.top.goTo("Workplace","MyWork","nav_traces")}catch($$e_0){try{window.goTo("Workplace","MyWork","nav_traces")}catch($$e_1){var$v_0=$get(Mscrm.AppMessageBarActions.get_ContentFrameId());$v_0.setAttribute("src","/_root/tracewall.aspx")}}}</Function>
        <Function>anonymous(){Mscrm.AppMessageBarActions.showSystemAlerts()}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; InfoPath.3; .NET4.0C; .NET4.0E)</BrowserUserAgent>
       <BrowserLanguage>de-DE</BrowserLanguage>
       <SystemLanguage>de-DE</SystemLanguage>
       <UserLanguage>de-DE</UserLanguage>
       <ScreenResolution>1920x1080</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2015-10-12T11:49:52</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1031</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1031</UserCulture>
        <OrgID>{047E7E73-DC57-4499-B5D4-EEF6533237EB}</OrgID>
        <UserID>{5C5001FA-2FBB-E411-80C2-0050569606D0}</UserID>
        <CRMVersion>6.1.3.119</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    I already adjusted the site map but the error still occurs. Hope that anybody can solve the problem.

    Monday, October 12, 2015 9:51 AM