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.
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...
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.
You could use the Umbraco API to send emails. eg
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
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...
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
is working on a reply...