Copied to clipboard

Flag this post as spam?

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


  • Pete 152 posts 176 karma points
    Aug 02, 2010 @ 10:00
    Pete
    0

    Notifications by document type?

    Is there a way to set notifications at a document type or folder level? 

    I have a document type that members can update but the changes must be approved by an admin before they are published. Is there a way to do this through the CMS or API? I've got the API call to SendToPublication but not sure how to notify admins. 

  • Tom Maton 387 posts 660 karma points
    Aug 02, 2010 @ 10:43
    Tom Maton
    0

    You could use the Umbraco API to send emails. eg

    library.SendMail();

    As for finding all the admins I'm not 100% sure on that prgramatically.

    I guess someone else can point you in the right direction for that afraid.

    Tom

  • Pete 152 posts 176 karma points
    Aug 02, 2010 @ 10:57
    Pete
    0

    Sending an email in code is an option but I'd like to know if there's and API for hooking into the notifications functionality so the notifications themselves can be managed in the CMS...

  • Tom Maton 387 posts 660 karma points
    Aug 05, 2010 @ 10:32
    Tom Maton
    0

    Looking in the API there is the umbraco.cms.businesslogic.workflow

    In here there are the methods for the notifications.

    check out the API not sure if this also for 4.5.x

    Tom

Please Sign in or register to post replies

Write your reply to:

Draft