function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krish99krish99 

Call Visualforce page from trigger

Hi,

 

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

bob_buzzardbob_buzzard

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

 

Can you explain your use case?

krish99krish99

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.

Nash79Nash79
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.
Regards
Nagesh M