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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Notes Entity

(0) ShareShare
ReportReport
Posted on by 225

I want to restrict a user to add more than one note/attachment in an Entity in dynamics CRM.can anyone tell me a way to do this?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    You need to write a plugin on  create event of notes entity. In the plugin retrieve the existing notes  , if  found any existing notes for that record then return error.

  • Varsha Naithani Profile Picture
    225 on at

    Thanks for the response Gautham.

    Except writing a plugin is there a way through which i can replace the note/attachment if another attachment is added to the entity.

  • Suggested answer
    Pawar Pravin Profile Picture
    5,237 on at

    Hi Varsha Naithani,

    In addition with Goutam, you can use plugin only in case of your requirement.

    Also make sure that your plugin should be on "pre-validation step". Inside plugin you can through exception to restrict user.

    Note:

    You can't use JS/custom workflow because of event limitation.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
RichardM Profile Picture

RichardM 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans