PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page where you create email templates for marketing campaigns.
What you do here
Use this page to prepare the emails that are sent in marketing campaigns, with variables for the contact name, campaign ID and URL. These campaign pages belong to the built-in marketing features. Where Dynamics 365 Sales is used, quotations and orders are shared with Supply Chain Management through prospect-to-cash dual-write.
Example
For example, BEAT writes the template WELCOME, 'Dear %PERSONNAME%, thank you for your interest in campaign %CAMPAIGN%', and sends it to the 420 contacts of its SPRING email campaign.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Step by step, with screenshots
Set up Email template1 screen
Use this page to prepare the emails that are sent in marketing campaigns.
Screen 1
Create a campaign email template
Go to Sales and marketing > Setup > Campaigns > Email template
Select New
Enter the template name and subject
Type the email text, using the variables shown below it for the contact name, campaign ID or internet address
Select Save
1Name
BEAT-EMT
2Subject
Email template
3Email text
Dear %PERSONNAME%, thank you for your interest in campaign %CAMPAIGN%.
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to Sales and marketing > Setup > Campaigns > Email template.
Select New, or select a template in the list on the left.
Enter the Name and Subject.
In the Template section, write the message under Email text, using %PERSONNAME% for the contact name, %CAMPAIGN% for the campaign ID and %URL% for the internet URL.
Then select the template on the email campaign on All campaigns.
The name of the email template, chosen on email campaigns.Checked in Dynamics 365
WELCOME
Name
Subject
The subject line of the email sent from the template.Checked in Dynamics 365
Welcome to BEAT
Subject
Email text
The body of the email. The variables shown below the text, %PERSONNAME%, %CAMPAIGN% and %URL%, are replaced by the contact name, the campaign ID and the internet URL.Checked in Dynamics 365
Dear %PERSONNAME%, thank you for your interest in campaign %CAMPAIGN%.
Common errors and fixes
Message
What to do
The email template is missing from the lookup on a campaign in another company.
Email templates are kept per company; create the value in each legal entity that runs campaigns. Microsoft data model
Test checklist
Create template WELCOME with Subject 'Welcome to BEAT'.
Enter the email text with %PERSONNAME% and %CAMPAIGN%.
Save and reopen the template.
The text still shows both variables, and the list on the left shows 1 template named WELCOME.
One template per campaign message, using the %PERSONNAME%, %CAMPAIGN% and %URL% variables instead of typed names.The variables listed under the email text are filled per contact and campaign, so one template serves every recipient.
Reversible: You can add, edit or delete email templates; check campaigns that use a code before you delete it. Microsoft data model
If you change it later
Campaigns keep the email template they were given; changing the description here changes what is shown on every campaign that uses the code. Microsoft data model
Technical architect
6Technical
Menu item
smmCampaignEmailTemplateChecked in Dynamics 365
Form
smmCampaignEmailTemplateChecked in Dynamics 365
Table
smmCampaignEmailTemplateShown as “Campaign email template” in Record infoChecked in Dynamics 365
PrivilegesMaintain campaign email templates smmCampaignEmailTemplateMaintainView campaign email templates smmCampaignEmailTemplateViewDutiesInquire into campaign progress smmCampaignProgressInquireMaintain campaigns smmCampaignsMaintainEnable marketing process smmMarketingProcessEnable3 security rolesMarketing coordinator CRMMarketingCoordinatorMarketing manager CRMMarketingManagerSales manager TradeSalesManagerChecked in Dynamics 365
Roles to set it up and use it
To set it up or change itSales manager TradeSalesManagerMarketing manager CRMMarketingManagerMarketing coordinator CRMMarketingCoordinatorGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the page
Options: Personalize, Page options, ShareChecked in Dynamics 365
smmCampaignEmailTemplateEntity (Campaign email templates): loaded for each company, in Microsoft's default template 330 - Sales and marketing.Load order: Microsoft's default template 330 - Sales and marketing loads Campaign email templates at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.