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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dynamics NAV 2016 - set up field level security

(0) ShareShare
ReportReport
Posted on by 41

On the item card in Dynamics NAV 2016; I need to have one of the fields be read only or read\write depending upon the user.  The field always needs to be visible, but certain users need to be able to modify the data in the field.  I have seen a number of ways to do this but none seem to match what we are looking for.  I am up for using a codeunit to manage the field but do not see a way to get the user name tied in to the code

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Marcellus Profile Picture
    2,735 on at

    Hi Lockforward,

    Here is an idea:

    1. Add a boolean field to the user setup table that can indicate if the user is allowed to edit the field or not. I will call it "Can Edit Field".

    2. In the item card create a boolean variable and assign it to your field's Editable property

    3. On Open Page get the current user's record from the user setup table and assign the value of the "Can Edit Field" to your boolean variable.  If there is no record for the user in the user setup the value should be false.

    Regards,

    Marcell

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    You can also check "Field Level Security using Events in Dynamics NAV 2016":

    community.dynamics.com/.../field-level-security-using-events-in-dynamics-nav-2016

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans