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
krish@123krish@123 

When user first time login into the salesforce in the current month .Need a alert message

Hi 
Please any one suggest me that  when user login into the salesforce instance for the first time in the current month  we need to display alert message like 
"Hi username your are logging into the salesforce instance first time  in this April month"
only first time  we need to dispaly this message 



Please very urgent
Thanks 
 
Best Answer chosen by krish@123
Hargobind_SinghHargobind_Singh
Hello foce@123, this would reuqire you to write a Visualforce page and add it to the home page. You can write this logic into your VF page. You might need to have a field on your User record to flag when this is displayed once, so that next time you can check this field and not display this message. 
 

All Answers

Hargobind_SinghHargobind_Singh
Hello foce@123, this would reuqire you to write a Visualforce page and add it to the home page. You can write this logic into your VF page. You might need to have a field on your User record to flag when this is displayed once, so that next time you can check this field and not display this message. 
 
This was selected as the best answer
krish@123krish@123

Thanks for reply
Could you Please  send me   any sample code 
 
krish@123krish@123

 Please any body   send me   a sample code