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
mavsmavs 

redirect user upon initial login

Can we redirect User to Visualforce page/SControl Upon logging into salesforce?

 

If so can you please let us know how we can achieve this?

 

Our requirement is, Upon logging into salesforce we need to check to see if it is monday. If it is we will need to popup a window with some message.

 

Can someone please post us some ideas on how we can do this?

 

 

Thanks

 

ReidCReidC

There are a couple ways depending on your preference.

 

* You can create a custom home page component, type HTML, with a javascript function that evaluates for your condition and then redirects to a page you want.  This could become challenging for you 

 

* You can create a custom Visualforce landing page for each app and have it do the logic check via apex.  If the logic passes, pop up a window or something.

 

Either of those sound like a good direction?