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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to make records not editable?

(0) ShareShare
ReportReport
Posted on by
Hey guys,
I have created a new field on the Customer table that is either true or false (depending on whether the records were read in via an interface or not).
If the records were read in via the interface, I would like the data records to be read-only, so that they cannot longer be changed by users.
Do you have any ideas how I can make this possible? Setting fields to not editable is not a problem, but how do I do this for a complete table?
Thank you ;)
I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    You can make the entire record non-editable using the Editable property in the required page object. You can also make the Editable property using conditional statements also...

  • Community Member Profile Picture
    on at

    Ok, I will do so ;)

  • Suggested answer
    THE Italian Profile Picture
    on at

    You could set dynamic editability in pages based on the result of whatever calculation.

    I would also ensure that this is enforced in the table by subscribing onmodify, ondelete and onrename record with an error. Be sure you do not lockdown yourself and add e.g. an entry in user setup table with something like canmodifydeleterename records in that table (just in case you need to do these operations in your record with a super user).

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans