Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to add new placeholder in Out of the box Email transactional events

(0) ShareShare
ReportReport
Posted on by 10

Hello 

I need to add new field in Email place holder which is not available in Out of the box placeholders.

The place holder i want to add is ProductVariantName , which is not available as per below link.

Create email templates for transactional events - Commerce | Dynamics 365 | Microsoft Learn .

Where i can find this code to put new place holder?

Thank you in advance!

  • Suggested answer
    Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: How to add new placeholder in Out of the box Email transactional events

    Hi,

    That would depend on where the placeholders are going to be used because there is no "central place" for adding more placeholders. If you find the references for the SysEmailTable in Visual Studio, you will see many examples in the standard application of places where you could add more placeholders to the standard mappings. See screensot below.

    I have added more placeholders to the standard placeholders for workflow email notifcations, see the sendMail method in the EventNotificationWorkflow class as an example of where this can be done.

    2023_2D00_06_2D00_16-08_5F00_26_5F00_09_2D00_antonwin11-_2D00_-Remote-Desktop-Connection.png

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans