+ Start a Discussion
mallikammallikam 

Restricting triggers to page layouts??

I know we can retrict triggers to profiles but can we restrict triggers to certain page layouts only? thanks!
bob_buzzardbob_buzzard

You can't restrict on the page layout, as you aren't associated with a page when the trigger fires.

 

You can restrict by record type, and you can specify a page layout per record type, so maybe that's the way to go.

 

 

mallikammallikam
thanks a lot for the reply. Can you please give me an example? What is a record type?
bob_buzzardbob_buzzard
Open Help and Training from your salesforce org and search for record type - there's plenty of information in there.
mallikammallikam
thanks bob!