+ Start a Discussion
Suneel14Suneel14 

How to add custom button or write trigger on OpportunityContactRole object

Hi all,

 

Problem : I have created a custom profile as "Sales Role", i don't want to give permission to this profile user to create or update Contact Role for opportunity, for this i was trying to write trigger on opportunityContactRole object and show error.

it is not possible to write trigger on opportunityContactRole . Is there is any to add a custom button so i can show error msg on button click for this profile user i was also tyring to add button but we can not customize Contact Role Related list from Opportunity Page layout so this is not possible to add custom button, or there is any other way to implement this please help me. 

 

Thank You !!