Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article explains how to configure optional features for a Microsoft Dynamics 365 Commerce sandbox environment.
If you want to demo the transactional email features, the following prerequisites must be met:
Note
Before you can complete this procedure, you must complete the steps in Set up your site in Commerce.
Sign in to the Commerce site builder by using the URL you made a note of when you initialized e-Commerce during provisioning (see Initialize e-Commerce).
Open the Fabrikam, Adventure Works, or Adventure Works Business site that you want to work with.
On the menu on the left, select Media Library.
Select any single image asset.
In the property inspector on the right, find the Public URL property. The value is a URL. Here is an example:
https://images-us-sb.cms.commerce.dynamics.com/cms/api/fabrikam/imageFileData/MA1nQC
.
Replace the last identifier in the URL (MA1nQC in the preceding example) with the string search?fileName=. Here is what the example URL looks like after this change is made:
https://images-us-sb.cms.commerce.dynamics.com/cms/api/fabrikam/imageFileData/search?fileName=
This URL is your media base URL. Make a note of it.
Note
The SMTP server or email service that you enter here must be accessible from the Azure subscription that you're using for the environment.
For each transactional event that you want to send emails for, you must update the email template with a valid sender email address.
Sign in to Commerce headquarters.
Use the menu on the left to go to Modules > Retail and Commerce > Headquarters setup > Parameters > Organization email templates.
Select Show list.
For each template in the list, follow these steps:
Select Save.
You might want to customize the email templates so that they use different images. Or you might want to update the links in the templates so that they go to your sandbox environment. This procedure explains how to download the default templates, customize them, and update the templates in the system.
In a web browser, download the Microsoft Dynamics 365 Commerce demo default email templates zip file to your local computer. This file contains the following HTML documents:
Customize the templates by using a text or HTML editor. See the list of supported tokens later in this article.
Sign in to Commerce.
Use the menu on the left to go to Modules > Organization administration > Setup > Organization email templates.
Expand the list on the left to see all the templates.
For each template that you want to customize, follow these steps:
When the email is rendered, these tokens are replaced with actual values that apply to the customer and the customer's order.
The following tokens apply to the overall sales order.
Name of the token | Token |
---|---|
Order number | %salesid% |
Customer's name | %customername% |
Delivery address | %deliveryaddress% |
Billing address | %customeraddress% |
Order date | %shipdate% |
Delivery mode | %modeofdelivery% |
Discount | %discount% |
Sales tax | %tax% |
Order total | %total% |
The following tokens are replaced with values for each product in the order.
Note
Put the Product list - start token at the beginning of the HTML block that is repeated for every product, and put the Product list - end token at the end of the block.
Name of the token | Token |
---|---|
Product list - start | <!--%tablebegin.salesline% --> |
Product list - end | <!--%tableend.salesline%--> |
Product name | %lineproductname% |
Description | %lineproductdescription% |
Quantity | %linequantity% |
Line unit price | %lineprice% (verify) |
line item total | %linenetamount% |
line discount | %linediscount% |
Ship date | %lineshipdate% |
Procurement method | %linedeliverymode% |
delivery address | %linedeliveryaddress% |
Sales unit of the line | %lineunit% |
Provision a Dynamics 365 Commerce sandbox environment
Configure a Dynamics 365 Commerce sandbox environment
Configure BOPIS in a Dynamics 365 Commerce sandbox environment
Microsoft Lifecycle Services (LCS)
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn more