- April 16, 2018 at 9:48 am #27516
How to prevent a user from creating a new account in Salesforce?
can we prevent a user to create a new account; but he can update the account in sfdc?
if yes then plz share me any example.
rahulApril 16, 2018 at 11:37 am #27523Manpreet #14
You can simply remove Create permission from Account Object on the profile of that user.
Thanks.April 17, 2018 at 6:37 am #27534
thanks for reply.
But i want that only one person can create accounts, other can do update but not create new. so removing create permission from profile is time taking process. can i handle it through trigger or validation?
Waiting for reply.April 17, 2018 at 7:53 am #27540April 17, 2018 at 8:31 am #27547PRANAV #15
Yes you can create a validation rule on Account object
So only User with LastName = guestadmin AND FirstName = ‘pb’ can create account records. Other User can face the validation error like the below image
Hope this helps you. ThanksApril 25, 2018 at 7:04 am #27792September 20, 2018 at 6:57 pm #35845shariq #1
There are various methods to do it, but best is to do it without any coding.
Just remove the permission of create from Account sobject on the profile of that user.
Hope this helps.September 20, 2018 at 7:02 pm #35849Parul #2
Adding some steps:
use this steps may be help you:
Step 1:- Remove the Create permission on the Lead object
Step 2:- Create the Checkbox field on the Lead object (Default=Checked) & Create the checkbox field on the Account object (Default=Unchecked)
Step 3:- Set up the Field mapping between Lead & Account field
Step 4:- Make the Field read only or hide it from the pagelayout
Step 5:- Create the validation rule on Account to block the User to create the Account from scratch or any other source, only exception is for Accounts that getting created from Lead conversion something like this:-
Let me know if you need any help.
Please Register to reply to this topic. /