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
ranirani 

Creating Lead for other Record Type

I've written a program where a User of let say Profile "A" will create a Lead for other Record Type lets say "B" which is not related to his profile. i.e. "B" record type doesnt belong to Profile "A".
 
It is saying that the user of this profile cannot create a lead of the specified record type.
 
Following is the error message:
 
"Error creating Lead: Record Type ID: id value not valid for the users profile"
 
Should i change any configuration values or something else where i can over come this problem.
 
Can someone please help me
 
Ron HessRon Hess
the user profile A  will have to have permission to create records of record type B, so will have to have this in profile A as a possible type.

add record type B to profile A