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
marifmarif 

Is there a way to set only one data record uneditable and undeleteble.

Hi,

 

Is there a way to set only one data record uneditable and undeleteble?

 

Should not be editable and deletable from anywhere (on the web, through any API and Dataloader).

 

I would appreciate any help on this.

 

Thanks

Arif

Ritesh AswaneyRitesh Aswaney

You could make the System Admin the Owner of this record (assuming the sys admin is above everyone else in the role hierarchy), and this should do prevent any edits or deletes.

marifmarif

Thanks for your response.

 

Sorry, we can do that. because we have bunch of sysadmin and we can't give this record to all of the system admin.

 

 

marifmarif

Sorry mis-typed it, corrected as below

 

Sorry, we can't do that. because we have bunch of sysadmin and we can't give this record to all of the system admin

VollyVolly

Could you create a profile an only give that profile rights to edit the record? It would not stop the admins completly but it would slow them down a bit.

Another way to look at it: If you don't want the admins doing certain things, then why are they admins? They should be in a limited profile to limit their access to what your company deems fit. Just something to think about.