Skip to main content

Notifications

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

Dynamics CRM Portal

Posted on by 53

Hello,

I have requirement where i need to restrict the number of attachment that can be uploaded in Notes Section in Dynamics Portal and CRM.  Please suggest any approach.

Thanks in advance.

  • CRMJetty Profile Picture
    CRMJetty 3,508 on at
    RE: Dynamics CRM Portal

    Hello Kumar,

    Greetings of the day!

    In regards to your concern, kindly find our comments below:

    If you need to restrict the number of attachment for a note, then in this case, In Dynamics 365 & in portal you will only upload 1 attachment with a note, you cannot upload more then 1 attachment with a note.

    And if you need to restrict the number of notes for particular record or module, then in this case, You have to create a plug-in on creation(register as preoperation) of note.  In plug-in check the number of notes attached with particular record, if there is already 5 notes attached with particular record then restrict to create note,else allow to create note.

    I hope it helps! Let me know in case of any other concern.

    Kind Regards,

    CRMjetty

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

    DynamicsCRM Customer Portal for Wordpress

    Dynamics CRM Customer Portal

    Dynamics CRM Customer Portal

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Dynamics CRM Portal

    My approach would be:

    - Add a validation via Plugin (on create) to enforce no more than X attachments were added

    - Add a JS/JQuery on Portal page, find the element for the attachment and set a function for the loaded event of that element, validating than the count of the attachments, if it reaches the X number, disable / hide the add attachment button

  • Suggested answer
    RE: Dynamics CRM Portal

    Hi Partner,

    Unfortunately restriction of attachment is  not possible through UI as of now, you can refer this article community.dynamics.com/.../how-to-limit-adding-to-attachments-to-5-for-notes wherein you can try to achieve this through custom Plugins. 

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans