web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Show Notification On User Login

(0) ShareShare
ReportReport
Posted on by

Hello Community Experts!

Hope you are all doing well. how i can display notification when user login in ms crm online. i know it is possible because CRM also send us notification when we login into crm but i don't know how i can achieve this via plugin or workflow or any other way.

Experts really starving for this. i know there are plenty paid addons but i want free or want to built it by myslef

Regards,
ZG

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at
    RE: Show Notification On User Login

    Hi ZeeshanGhause,

    Would you like to â‘  display a welcome page for users who log in to D365, or â‘¡ send a message to the administrator when users log in to D365?

  • ZeeshanGhause Profile Picture
    on at
    RE: Show Notification On User Login

    LuHao

    Thanks.

    let suppose user 'A' is the owner of 'Dinner'' record of event' entity and it has one more field name 'startdate'.

    i want to show notification or alert to user A  when User A login into CRM and start date of that dinner record is today or future date

  • ZeeshanGhause Profile Picture
    on at
    RE: Show Notification On User Login

    will go for point â‘  with custom message but i don;t know how to achieve this

  • Suggested answer
    protc Profile Picture
    on at
    RE: Show Notification On User Login

    Hi ZG,

    Thank you for your query.

    You can try to achieve this by creating

    1. a custom entity called "Alert" with attributes for release and expiration dates, and Read two-option.

    - Create a view that filters based on the start date and read option.

    - Then use FetchXML to query those records and display them to the user.

    - Create a workflow to trigger as an action to "mark as read" and work flow sets the Read option to true.

    Give the user another view for "unread" messages. Create a relationship to the Event entity and notifications can be entity specific.

  • ZeeshanGhause Profile Picture
    on at
    RE: Show Notification On User Login

    Thanks Protim Choudhary!

    completely understandable but the issue is that how i can call on user login?

  • Verified answer
    Linn Zaw Win Profile Picture
    3,407 on at
    RE: Show Notification On User Login

    You can achieve this by addGlobalNotification client API. You can call the JavaScript on user login by creating a hidden button in Global Tab of the Application Ribbon.

    For more details, please refer to my blog post in which the sample code shows the notification to the number of overdue tasks as soon as the user logs in to the system. You can alter the code and replace with your query.

    http://linnzawwin.blogspot.com/2020/05/show-global-notification-on-load-of.html

  • ZeeshanGhause Profile Picture
    on at
    RE: Show Notification On User Login

    Thanks @Linn Zaw Win

    i am doing i will let you know if i need something

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 70 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 58

#3
Anthony Blake Profile Picture

Anthony Blake 44 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans