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

Announcements

No record found.

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,983 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans