web
You’re offline. This is a read only version of the page.
close
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.

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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.

  • Lucas H Profile Picture
    283 on at

    Thank you, this is perfect!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans