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...
Suggested Answer

Enable/disable edit, insert, delete on a page dynamically in Business Central

(0) ShareShare
ReportReport
Posted on by 202

Hi Everyone,

I want to ask something related to how to enable/disable edit, insert, and delete on a page dynamically in Business Central.

is there a way to achieve this? I've tried this code to make this happen :

var
   curPage: Page ThePage;

begin
   curPage.Editable(false);
end;

I appreciate any answers given.

Best Regards,
Chaidir Ali Assegaf

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    Create a new variable such as, PageEditable, and assign the variable to the page property.

  • Suggested answer
    Olister Rumao Profile Picture
    4,009 on at

    I agree with Teddy.

    Simply create a Boolean variable and then set or reset the variable value on OnOpenPage or other page triggers.

    Then simply set the variable to property of the page or the field.

    For eg:

    Editable = Fieldeditable;

  • Suggested answer
    divyeshchitte Profile Picture
    970 on at

    You can add a global variable

    EditablePage = Boolean

    and set you code on open page

    and set it in editable property of the page.

  • faran1 Profile Picture
    115 on at

    Hi Chaidir Ali Assegaf, Did you find any Solution for this ?

    thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 665 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 418 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans