+ Start a Discussion

Call Visualforce page from trigger



  Is there any way to open a visualforce page from a trigger?


No. The trigger has no access to a browser session to be able to open a page.


Can you explain your use case?


Hi Bob,



        when i enter  a records in object A it showing an error message records are deleted and check in recyclebin.why because i wrote a trigger on object A, actually that records i passed to object B.

Hi Bob ,
my use case is this. When an Account becomes inactive, I need close all open oppties and send an email with PDF to the sales and owners on Oppties. This PDF should  include all Open oppties as a list with status and few more fields. So please guide me how to approach on this.
Nagesh M