web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

problem with Insert Template

(0) ShareShare
ReportReport
Posted on by 90

I am trying to use an email template I have created for contacts.  When I open a new email and use the "insert Template" feature, the template populates the subject line fine but not the body.  When I select the contact and use the "direct email" function it works fine.  I need to inseet the template in the email so I can make minor modifications to the body before sending the email.

error is posted below

Thanks in advance for any help,

Steven

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>This object model command is not available in e-mail.</Message>
   <Line>1</Line>
   <URL>/_static/_controls/emailbody/emailbody.js?ver=-1467175507</URL>
   <PageURL>/userdefined/edit.aspx?etc=4202&isinspector=true&pagemode=iframe</PageURL>
   <Function>ApplyTemplate()</Function>
   <CallStack>
    <Function>ApplyTemplate()</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){Mscrm.CrmHeader.setScriptFile(Mscrm.CrmUri.create($p1),true);for(var$v_0=window,$v_1=$p0.split("."),$v_2=0;$v_2<$v_1.length;$v_2++)if($v_0)$v_0=$v_0[$v_1[$v_2]];if(!IsNull($v_0)&&typeof$v_0===Mscrm.TypeNames.functionType){var$v_3=this.$Ds_1($p2,$p3);return$v_0.apply(null,$v_3)}returnnull}</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){var$v_0=this.getCommandDefinition($p0,$p1);if(IsNull($v_0)||IsNull($v_0.Actions))returnfalse;for(var$v_1=0;$v_1<$v_0.Actions.length;$v_1++){var$v_2=$v_0.Actions[$v_1];switch($v_2.ActionType){case2:this.$Ek_1($v_2.Attributes);break;case3:var$v_3=$v_2.Attributes;this.$BV_1($v_3.FunctionName,$v_3.Library,$v_2.Parameters,$p2);break;case1:this.$El_1($v_2.Attributes,$v_2.Parameters);break}}returntrue}</Function>
    <Function>anonymous($p0,$p1,$p2){var$v_0=this.parseCommandFromRibbon($p0),$v_1=this.$8B_1($v_0.command,$v_0.entityLogicalName,$p1,$p2),$v_2=$p1;if(!IsNull($v_2)&&!isNullOrEmptyString($v_2.PopulationXML)&&!$v_2.SuppressCommandIncludes){var$v_3=null;if($v_0.entityContext==="Form"){var$v_4=$find("crmFormSelector");if($v_4)$v_3=$v_4.get_currentFormId()}$v_2.PopulationXML=this.$GD_1($v_2.PopulationXML,$v_0.entityLogicalName,$v_3)}return$v_1}</Function>
    <Function>anonymous(command,properties){if(this.isControlEnabled(command)){if(!properties)properties={};this.get_$3P().handleCommand(command,properties,0)}}</Function>
    <Function>ExecuteRibbonCommandOutlook(command,id)</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; GTB7.3; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC EA 2; .NET4.0C; .NET4.0E; MS-RTC LM 8; Microsoft Outlook 14.0.6117)</BrowserUserAgent>
   <BrowserLanguage>en-us</BrowserLanguage>
   <SystemLanguage>en-us</SystemLanguage>
   <UserLanguage>en-us</UserLanguage>
   <ScreenResolution>1440x900</ScreenResolution>
   <ClientName>Outlook Laptop - Online</ClientName>
   <ClientTime>2012-05-03T15:06:45</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>4105</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>4105</UserCulture>
    <OrgID>{2B68B158-66FB-4FF6-9F23-488775D1071F}</OrgID>
    <UserID>{94DB0165-14AF-4158-86E6-B0C97DF2CE97}</UserID>
    <CRMVersion>5.0.9688.1561</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

 

*This post is locked for comments

I have the same question (0)
  • ARansow Profile Picture
    5 on at
    RE: problem with Insert Template

    I'm having this same exact issue.  We are on CRM onPrem

  • Gus Gonzalez Profile Picture
    27,113 on at
    Re: problem with Insert Template

    That's odd...it works in my side, are you on CRM Online or OnPrem?

  • Steven Pierson Profile Picture
    90 on at
    Re: problem with Insert Template

    it's the same with all templates, I have tested several I have created as well as the canned ones

  • Gus Gonzalez Profile Picture
    27,113 on at
    Re: problem with Insert Template

    Does this error show up with any template or with this particular one?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans