function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suneel.patchipulusu@gmail.comsuneel.patchipulusu@gmail.com 

How to stop to edit and the change the values for existing record???

Hello all

 

I have a scenario like

 

I dont want to change the field value or name for an existing record. I dont want to use the Record lock option. 

 

How to do this?? Couls any one give some suggesttions.

 

Eg: I have a field called SalesName in custom Object.

 

      There are some records existing in the custom object.

      I have a role of System Administrator. If I change the value of the existing record it should not be chabged, but I need here to show an error if the value changes. Could any one give some suggesttion?? 

 

 

Thanks in advance

 

 

 

 

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard
You could do this through validation rules - just check if the field has changed and put out the appropriate error.

Its not the greatest user experience though - the user believes their change will work, but when they save it throws an error.

All Answers

bob_buzzardbob_buzzard
You could do this through validation rules - just check if the field has changed and put out the appropriate error.

Its not the greatest user experience though - the user believes their change will work, but when they save it throws an error.
This was selected as the best answer
suneel.patchipulusu@gmail.comsuneel.patchipulusu@gmail.com

Thanks

 

Its working