You need to sign in to do that
Don't have an account?

How to restrict view and edit permissiom for a record through trigger
Hi EveryBody,
I am converting the qualified lead to oppertunity through trigger.So i need to restrict user to view and edit the qualified lead
If it possible through trigger please help me.
Thanks
Samu
You'll need a static variable to track if the conversion is happening through a trigger:
Next, set your trigger to block the event if it's not from your custom code: