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.
Thank you, this is perfect!
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
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156