web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • faran1 Profile Picture
    115 on at
    RE: Enable/disable edit, insert, delete on a page dynamically in Business Central

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

    thanks.

  • Suggested answer
    divyeshchitte Profile Picture
    950 on at
    RE: Enable/disable edit, insert, delete on a page dynamically in Business Central

    You can add a global variable

    EditablePage = Boolean

    and set you code on open page

    and set it in editable property of the page.

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at
    RE: Enable/disable edit, insert, delete on a page dynamically in Business Central

    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
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,197 Super User 2025 Season 2 on at
    RE: Enable/disable edit, insert, delete on a page dynamically in Business Central

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,132

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,615

#3
Sumit Singh Profile Picture

Sumit Singh 2,912

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans