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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Plugin to get updated fields value, its previous value, its schema name and its display name.

(0) ShareShare
ReportReport
Posted on by 10

Hi, I am creating a plugin which sends email on updated of fields. And in the mail I have to attach all the updated fields value, its previous value, its schema name and its display name. I am not getting any solution how to get updated field values in the plugin.

Thanks in advance

I have the same question (0)
  • Suggested answer
    ankit_singhal Profile Picture
    560 on at

    You need to regiaster plugin on post operation and email sent should be the last step. Then it will populate updated value else you can use power automate to send email using email template as well.

  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at

    Hi,

    In a plugin the Target will contains all modified attributes. You can get the list via the Attributes property.
    Example:

    Entity entity = (Entity)context.InputParameters["Target"];
    string modifiedFields = string.Join(", ", entity.Attributes.Select(attr => $"{attr.Key} => {attr.Value}"));

    To get the previous value, you can use a PreImage. See carldesouza.com/.../

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans