rbv_api.isPortal()
Purpose
Returns true if a trigger is called or a formula is invoked from a portal
UI page.
Note: This method returns false if called outside of a trigger
Syntax
rbv_api.isPortal()
Parameters
None
N/A
Return value
true or false
Example
To receive notification when a new lead record is created from portal page, but not from UI page, create an Email notification trigger and set the condition formula to (no need to add return keyword):
rbv_api.isPortal()