Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Throw exception on note create

Posted on by 50

Scenario is to prevent from creating a new note if the value of a field in parent entity(where note grid is present) is missing.

I have been trying to throw an exception after checking for a field in a parent entity whether value is present or not) on create of annotation.

Registered as a pre-operation plugin. Exception is thrown as expected but similar exception message with an internal server error is occurring on reload of parent entity.

  • Suggested answer
    RE: Throw exception on note create

    Hi, 

    Can you provide more details? What you mean when you say reload of parent entity? Is it save event of parent entity? Is the exception raising from the same plugin? What is the exactly error?

    At this point I would suggest to raise a Support ticket to Microsoft.   

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans