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 :
Small and medium business | Business Central, N...
Answered

Editable to be true for 2 or three users only how can we achieve in Business Central?

(0) ShareShare
ReportReport
Posted on by 65

Hi, 

I have requirement for editing some field only for three or 4 users.

I know i can use personalization and security filter but it has multiple permission given to user which will overwrite the security filter

how can I achieve this using customization?

:) Thanks for your help.

I have the same question (0)
  • Suggested answer
    Vaishnavi J Profile Picture
    3,094 on at

    Hi,

    you can create a boolean field in user setup.
    set it true.
    Then write this trigger onOpen Page

    layout
    {
    area(content)
    {
    group(General)
    {
    field("Name", Rec."Name")
    {

    Editable = CheckEditable; //Assign the value to editable property of field
    }
    }
    }
    }


    trigger OnOpenPage()
    var
    Rec_UserSetup: Record "User Setup";
    begin
    Clear(Rec_UserSetup);
    Rec_UserSetup.Reset();
    Rec_UserSetup.SetRange("User ID", UserId);
    if Rec_UserSetup.FindFirst() then
    CheckEditable:= Rec_UserSetup.AllowEditable // AllowEditable is boolean field in User setup table.
    else CheckEditable:= false;

    Var CheckEditable : Boolean // Global field

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    More refine code on top of Vaishnavi Joshi

    trigger OnOpenPage()

    var

    Rec_UserSetup: Record "User Setup";

    begin

    Clear(Rec_UserSetup);

    Rec_UserSetup.get(UserId);

    CheckEditable:= Rec_UserSetup.AllowEditable // AllowEditable is boolean field in User setup table.

       end;

  • Suggested answer
    YUN ZHU Profile Picture
    100,878 Super User 2026 Season 1 on at

    Hi, just adding some simple examples.

    https://yzhums.com/25886/

    https://yzhums.com/14752/

    https://yzhums.com/15210/

    Hope this helps as well.

    Thanks.

    ZHU

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,961 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,211 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,141

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans