Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create a Note ans use @mention: Email Notification

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey everybody,

I love the option to @mention someone in a record in the social pane. This posting then appears on the Home Page of this user.

Is there an option to send an email to this user, informing about this @mention?

And second question: Can I set the default on the 'Notes' section from 'All posts' to 'User posts'?

Thanks,

Hannes

*This post is locked for comments

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Create a Note ans use @mention: Email Notification

    You would create a Create Plugin Message on the PostComment entity.

    In the plugin you should check the contents of the post and look for the Guid of the specific user you are looking for.

    If there is a match, create a new email request (via the plugin code), and then create a send request to send the email.

    Hope this helps.

  • wperkinson3 Profile Picture
    wperkinson3 on at
    RE: Create a Note ans use @mention: Email Notification

    Which plugin are you referencing to generate the email?

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Create a Note ans use @mention: Email Notification

    Hi,

    You can do a plugin create message on the Post entity.

    Check if the @ sign exists in the post, and you can get the user info from it.

    In general when you see a @name in the post the action text behind it is:

    @[8,SystemUserId,"SystemUserName"]

    If you want to create it, you can use the following line of code:

    String.Format("@[{0},{1},\"{2}\"]", "8", systemUserId, systemUserName);

    The 8 stands for the entity type code, while the other two variables are the entity Id and name.

    Once you get the User Id of the person that is mentioned in the post, you can generate an email to be sent to the user.

    Regarding the second question, I don't think there is a supported way to do this.

    Hope this helps.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans