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
skumar123skumar123 

Record Locking by changing the Owner?

Hi,

 

This is related to my previous post.....

 

I want to lock the Record (ex: Opportunity), so that some profiles should not access (or edit) that record.

I did this by using different Record Types. Can I do the same thing by changing the owner of the record?

 

From the Client Application I will create Opportunity. On some condition I want to restrict the access (or editing) for this record from all profiles except Administrator. I will assign Administrator as owner for this particular Record.

Is this is possible? If yes how can I do this....?

 

Is type of record is must to do this...? How to set the permissions to profiles on particular records?

 

Or is there any other way(Except 'Record Type') so that, on some condition I can give access permission only to Administrator & not to any one else.

I will use some Custom field to specify the condition.

 

Please suggest me for the solution....

Thanks for any help..... 

 

 

 

-skumar