Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Asilva 6 posts 95 karma points
    Sep 08, 2021 @ 14:49
    Asilva
    0

    Manage backoffice notifications programmatically

    Hi,

    How can you know which users are subscribed for notifications in a node?

    I'm trying to make my own notification system for the backoffice but i'm having a hard time getting the list of users that are subscribed to a specific node.

  • Nik 1616 posts 7262 karma points MVP 7x c-trib
    Sep 08, 2021 @ 15:47
    Nik
    100

    Hi Asilva,

    I'm not sure if there is a core service to help you with this, but Umbraco sort's umbraco users who have registered for notifications (and the type of notifications) in this table: [umbracoUser2NodeNotify]

    Have a look for an INotificationsService or something and see if that allows you to retrieve the data, else you might need to create your own service for reading the contents of that table.

    Thanks

    Nik

  • Asilva 6 posts 95 karma points
    Sep 09, 2021 @ 10:42
    Asilva
    0

    Hey Nik,

    Thanks for the info. I'm writting my own service. Should've explored the umbraco database first. That helped a lot.

Please Sign in or register to post replies

Write your reply to:

Draft