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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

HTML Code in InvalidPluginExecutionException Message on E-mail Template Entity Form

(0) ShareShare
ReportReport
Posted on by

Hi everybody,

I hope you are well. I have an Dynamics 365 9.0 and have the Problem, that the Message for InvalidPluginExecutionException contains only on the other entities Form HTLM Code in the error Message.

My plugin works on e mail template entity.

pastedimage1616398182862v2.png

my code:

var deneme = "deneme deneme deneme";
throw new InvalidPluginExecutionException(deneme);

Anybody an Idea how can i fix it?

Thanks for help.

I have the same question (0)
  • Elie.Mouawad Profile Picture
    9 on at
    This way will work:

    throw new InvalidPluginExecutionException("A\u00A0template\u00A0with\u00A0the\u00A0same\u00A0title\u00A0already\u00A0exists.");

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans