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
anvesh@force.comanvesh@force.com 

please correct this button url ?

I have created an  'new Opp' button for opportunity. and placed in Contact related list as list button. i have 2 record types for opportunity. when i click Opportunity from contact related list it opens Opportunity page and after filling details it save successfully.  But for  Some profile users they are unable to save and getting insufficient previligious for one of Record Type. For other record type it works fine for user. As an administritator it works fine for me for both record types. where is the problem ?  here is my button code.

/setup/ui/recordtypeselect.jsp?ent=Opportunity&CF00N40000002fEB2={!Contact.Name}&CF00N40000002fEB2_lkid={!Contact.Id}&retURL={!Contact.Id}&save_new_url=%2F006%2Fe%3Flookupcmpgn%3D1%26accid={!Account.Id}&conid={!Contact.Id}
@anilbathula@@anilbathula@
Hi anvesh,

The problem with record type permissions for the profiles.
Check the profiles and give the recordtype permissions to the the profiles for which you are getting error.
Then they can able to get rid of this error.

Thanks
Anil.B
anvesh@force.comanvesh@force.com
Where to give...when i saw record type...seems to be he has permission for that record Type.....
anvesh@force.comanvesh@force.com
But when he create  oppoertunity directly with that recordtype , he is able to save. but unable to from contact related list
YuchenYuchen
So when you go to that user's Profile, in the "Record Type Settings" section, he has access to that Record Type? You can also check the Field Level Security for the Record Type field.