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 :

How to Hide the +New and Delete Action Buttons in Business Central Pages

Khushbu Rajvi. Profile Picture Khushbu Rajvi. 18,989 Super User 2025 Season 2

In Business Central, the Customer List page shows a + New & Delete action at the top. This allows users to create new & delete customer records directly from the list. 


In some cases, businesses may want to restrict users from creating or deleting records on certain pages. For example, you may want users to only view or edit customers but not add or remove them.

This can be achieved by using the InsertAllowed and DeleteAllowed properties in a page extension.

Code:

pageextension 50102 CustomerExtension extends "Customer Card"
{
    InsertAllowed = false;
    DeleteAllowed = false;
    layout
    {
    }
}

👉 Once this extension is deployed, the + New button will no longer appear on the Customer List page for any user.

Result:

The + New button will no longer be visible on the Customer Card page.
Users cannot create new customers or delete existing ones.
They can still view and edit existing records (unless you also set ModifyAllowed = false).



Thanks For Reading ...!!😊

Regards,
Khushbu Rajvi


This was originally posted here.

Comments

*This post is locked for comments