Dynamics Portal:: User Can remove the value in lookup field even-though its property set to read-only.

Good Evening to all.

Recently, we had a issue on portal lookup. At some point of time, mandatory field doesn’t have value in the system. We can see from audit history that field gets updated by System User.

After long investigation, we found that user can remove the value in the lookup even-though field is read-only.

Typically, we write code as like below post to make the field read-only .

https://bidynamics365.com/?p=1343

Adding properties from above post to input field, we need to add below property as well.

onfocus=”this.blur()”

Hope this tip helps or make sense.

Please feel free reach to me for consulting and training needs. I am so happy to assist.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: