Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Unable to Lock and Allowing Viwiwng on Of A note On a custom Entity

Posted on by Microsoft Employee

Hi Everyone,

I have notes on a Case the  requirement was to disable adding/edit on notes on a closed/deactivate Case,only allow viewing.

I have a custom j script code that I have found online and below is the code :

    $(“#notescontrol a[title=’NOTES’]”).attr(‘disabled’, ‘disabled’); }

The issue is it rather than disabling everything add/edit and view of notes on a closed Case,As such this code is not doing what is is supposed to do.

Can anyone assist I need j script code that will enable my users not to edit/add a note on a closed case, but at the same time only allow view of a note on a closed case.

Anyone who can assit

Regards.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Lock and Allowing Viwiwng on Of A note On a custom Entity

    Hi mydoll,

    I have the samme issue. I was wondering if you find a solution that locks the notes and only allows viewing them

    Regards

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Lock and Allowing Viwiwng on Of A note On a custom Entity

    Hi Mohd,

    Thanks for the article but this is not what I need.

    I do not need to hide notes/activities

    I rather want those displayed/allow edit and add  when Ia case is open

    And only when the regarding case is closed allow only view of all added notes on the specific case but disable editing and adding.

    Regards.

  • Suggested answer
    Dynamics_Alok Profile Picture
    Dynamics_Alok 1,746 on at
    RE: Unable to Lock and Allowing Viwiwng on Of A note On a custom Entity

    Try this to hide New Note option.

    if(!AllowInsert)$('#createNote').hide();

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Lock and Allowing Viwiwng on Of A note On a custom Entity

    Refer this:

    www.axon-it.com/.../engineer-blog-post-crm-online-2015-hide-the-posts-activities-or-notes-tab-of-the-social-pane

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans