Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Locking notes, fields, documents.

Posted on by Microsoft Employee

Hi!

I was wondering if I could lock fields or notes or documents but not change the security roles. Like when you create a note you can choose whether you want the not to be locked so no one can modify it or not so other people can modify it. I do not know if this is possible?

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Locking notes, fields, documents.

    You are able to lock fields using JavaScript or Business Rules, but you can't lock notes/documents without modifying security role. You can however hide them if you want to.

    To Disable a field in JavaScript:

    Xrm.Page.getControl(attributeName).setDisabled(true);

    To hide a section in JavaScript:

    Xrm.Page.ui.tabs.get(tabName).sections.get(sectionName).setVisible(false);

    Hope this helps.

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Locking notes, fields, documents.

    Hi Egcoons,

    You would need to create field security profiles to lock the field - see this for reference www.powerobjects.com/.../enhanced-field-level-security-features-for-crm-2015

    Not locked documents but i suspect this might be administered in SharePoint.

    I hope that helps

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