
Hi guys,
Recently I have noticed an issue. When I create a new task record, the record does not appear to save in the opportunity or the lead. Also, the system gets an error immediately when I leave the page after creating the task. Then when I go to the activities section of my dashboard, the task is there, but the regarding field is filled in as (No name). It also seems to have this same problem when creating a phone call record as well. The only recent changes to the system are setting up the email synchronization for tasks.
Also, FYI the task record is created and does synchronize with Office 365 and also if I click the regarding field the Opportunity or Lead will open up, but the Task record does not show in the Opportunity or lead itself. I will try to test in a different browser tomorrow and also use FireBug but right now this is pretty confusing so any help would be appreciated.
Microsoft Dynamics 365 Error Report Contents
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Uncaught TypeError: this.wallLoadingTemplatejQuery.tmpl(...).appendTo is not a function</Message>
<Line>1</Line>
<URL>/_static/_forms/activitieswallpage.js?ver=-1033566137</URL>
<PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=677825&updateTimeStamp=636323353569933818&userts=131443288504835056&ver=-1033566137#etc=3&extraqs=%3f_gridType%3d3%26etc%3d3%26id%3d%257bDFB60F19-7261-E711-80E6-3863BB369EA8%257d%26opened%3dgrid%26process%3d3e8ebee6-a2bc-4451-9c5f-b146b085413a%26processts%3d604552%26rof%3dfalse%26rskey%3d%257b00000000-0000-0000-00AA-000010003000%257d&pagemode=iframe&pagetype=entityrecord&rskey=%7b00000000-0000-0000-00AA-000010003000%7d&counter=1499857168650</PageURL>
<Function>r:this.wallLoadingTemplatejQuery.tmpl(...)</Function>
<FunctionRaw>TypeError: this.wallLoadingTemplatejQuery.tmpl(...).appendTo is not a function</FunctionRaw>
<CallStack>
<Function>r:this.wallLoadingTemplatejQuery.tmpl(...)</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36</BrowserUserAgent>
<BrowserLanguage>undefined</BrowserLanguage>
<SystemLanguage>undefined</SystemLanguage>
<UserLanguage>undefined</UserLanguage>
<ScreenResolution>1366x768</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-07-12T18:00:24</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{F153E14B-3955-444A-AF9C-0090694AFCA4}</OrgID>
<UserID>{0DE1DE2F-6714-4E1B-A1F2-2F5136E28491}</UserID>
<CRMVersion>8.2.1.207</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
*This post is locked for comments
I have the same question (0)Well. I found the problem myself. The reason for this issue is that I had set the Topic field in the Lead and Opportunity as optional (because I had created a custom field to use for that purpose instead). If the topic field is blank, then this error happens when creating a task.
My solution was with a workflow to fill in the topic field as a concatenation of the Account field and my custom field when the record is created or when the account field or custom field is updated. Now everything is great.