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
peekpeek 

Trigger to launch a url

Hi,

I'm very new to Apex development and have a limited programming background, but I'm excited about the potenital of apex code and I have a quick questoin.

When a lead or an opportunity reaches a certain status, I want a trigger to open a url.  Basically, when leads enter "tracking" mode, I want a google alert to automatically be set for that record (meaning I want a google alert window to pop up with the appropriate ).  I have the basic ideas of triggers down, but how would you open a url?  Is there a toolkit or library I can use for this? 

Thanks,
Dave
Ron HessRon Hess
triggers cannot launch urls or other UI elements.

best you could do is : trigger creates an event, with a reminder, and a due time of now.

that way the reminder would popup with the event details that you supplied.