SAP Knowledge Base Article - Public

3467842 - Response Template Displays the Message "Unable to add a template."

Symptom

You are trying to add templates created as responses to an email and then an error message appears:Unable to add a template.

Environment

  • SAP Service Cloud Version 2
  • SAP Sales Cloud Version 2 

Reproducing the Issue

  1. Open Service Cloud V2
  2. Go to Leads
  3. Open any Lead
  4. Navigate to Activities and then click New
  5. Choose Email
  6. Click Add Template

The following error appears: Unable to add a template.

Cause

  • Email Template Configuration issue
  • Typically, this issue is caused by the use of incorrect place holders in the response templates. 

Resolution

  1. Click on the User Menu.
  2. Click Settings.
  3. Navigate to All Settings.
  4. Click Templates under Emails.
  5. Click +.
  6. Look for the responsible template you are facing the issue.
  7. Navigate to the Placeholder tab.

Make sure the placeholder you added to the response template is on the standard list that will be used. Even if the placeholders had been copied and pasted with the same name, the problem would remain. Check that there are no spaces or erroneous characters in the HTML file by following an extra tutorial in Notepad++ tool.

  1. Open the Notepad++.
  2. Click in Edit button.
  3. Navigate to Line Operations option and then apply the following options.
  • Remove empty Lines
  • Remove empty lines ( containing blank characters )
  • Remove duplicate lines

See Also

  • KBA 3434774 - Placeholder in Email Template is not populated with Desired Value 
  • KBA 3347427 - Unable to See Text Content Added to Email Body when Using Templates in Cases
  • Configure Email Templates

Keywords

Unable to add a template,Response template, Template, Placeholder, HTML , KBA , CEC-CRM-TMP , Templates for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 all versions