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
MohanbabuMohanbabu 

restrict updation and deletion of custom object in sales force

Hi,
 
I have a need that i have created a custom object that will not be updated from sales force site.
But i can onnly update or edit that object from my application through API only.
 
Can anyone please help me.
 
 
 
Thanks,
Mohan.
rprrpr
How about if you create an API user and give only that user rights to that object?
MohanbabuMohanbabu

All users can able to create,edit and delete that custom object through API (means  from my application when i integrated) but they can not edit, create or delete from salesforce

 

Please help me in detail

 

Thanks,

Mohan.

benjasikbenjasik
I think the easiest way to do this is take away the ability to create, update and delte the custom object for all users in the system, and have an integration user/profile that does have permission to create/update/delete the custom object.  These permissions are on the Profile page, and often called the CRUD permissions (Create, Read, Update, Delete)
MohanbabuMohanbabu

But all users from sales force system can login into my application.

So how can i create seperate profile and give permission only to that profile.