Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Display Message or Alert First Time User Logs In Daily

(0) ShareShare
ReportReport
Posted on by 283

Is there anyway to have a message or alert via JS or Plugin run the first time a user logs in for the day?

For example, once a day for the first time a user logs in or loads the CRM, I want a message to appear with certain information via a dialog or alert box on the screen but only for certain users/types of users. This loading page wouldn't be on any particular form but likely the default subarea for the app, usually Contacts.

  • Lucas H Profile Picture
    283 on at
    RE: Display Message or Alert First Time User Logs In Daily

    Thank you, this is perfect!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Display Message or Alert First Time User Logs In Daily

    Hi Licas,

    You can achieve this by addGlobalNotification client API. 

    The solution is to create a hidden button in Global Tab (where the Quick Create, Advanced Find and Settings menu are located) and call the JavaScript function using CustomRule of the button Enable Rule. Use a global variable to make sure the global notification is not being added multiple times and clear the global notification on button click.

    By calling addGlobalNotification client API from the Custom Enable Rule of the hidden button in Global Tab, we can show the startup notification to the user as soon as the user logs in to the model-driven app.

    (+) Show Notification On User Login - Dynamics 365 General Forum Community Forum

    (+) Show Global Notification on Load of Model-driven App in Dynamics 365 - Microsoft Dynamics 365 Community

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,892 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,772 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans