Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Restrict Attachments in the notes Section of social pane

Posted on by Microsoft Employee

Hello,

I need to restrict users from attaching documents in the social pane. Is there any way to do this or is there a security permissions i can tweak to achiev this??

Thanks

*This post is locked for comments

  • weve33 Profile Picture
    weve33 5 on at
    RE: Restrict Attachments in the notes Section of social pane

    I copied this exact workflow but mine isn't working, any ideas? I've even included "Record fields change" when file name or size is amended.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Restrict Attachments in the notes Section of social pane

    Hi Anurag ,

    You can  try using Plugin , write a plugin on creation of annotation entity ,In the plugin code check user roles and attachment .  If you found any files then throw InvalidPluginExecutionException with the messages. You need to impersonate your plugin to calling user , to get the user who is creating the attachment.

    Check below reference give you some idea -

    weblogs.asp.net/.../how-to-download-the-attachment-of-a-note-within-a-plugin-in-dynamics-crm

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Restrict Attachments in the notes Section of social pane

    Hi,

    Unfortunately it is not possible to just restrict the notes attachments  from social pane. If you are okay to restrict note attachment for all user across the application then you can refer the above suggestion.

    Hope this helps.

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Restrict Attachments in the notes Section of social pane

    Hi

    I assume you have Sharepoint integration configured and you want to prevent users from uploading documents to notes as attachments. 

    You could create a real-time workflow that trigers on create of Note and checks if there is an attachment and if there is prevent the user from saving the note

    Please see below screenshots

    ScreenClip-_5B00_408_5D00_.png

    ScreenClip-_5B00_408_5D00_.png

    ScreenClip-_5B00_407_5D00_.png

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Restrict Attachments in the notes Section of social pane

    Hello,

    You can remove permission for a user to create notes that will include attachments.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans