Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    Bipin D365 Profile Picture
    28,961 Moderator on at
    RE: Read-only Fields: Business Rule and Imports

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans