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

Announcements

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

I have the same question (0)
  • 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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May 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,875 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,242 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,127 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans