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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Read-only Fields: Business Rule and Imports

(0) ShareShare
ReportReport
Posted on by

I have a business rule, set with entity level scope, that states that field X is locked once it contains data.  I have noticed that during a data import (using "import from Excel" I can still modify this field.  Is this the expected behaviour?  If so, what are my options for making fields effectivelly write-once?  Do I need to use Field Level Security and/or JavaScript?

Thanks

Alan

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    You should write plugin on Update message and throw an error when field X contains data if you don't want to write data if it's already contains data.

    You should register pre image to check if OLD value of field X is not null.

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

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 111

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 55 Super User 2026 Season 1

#3
sannavajjala87 Profile Picture

sannavajjala87 29

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans