I'm using Alfresco 4.0 I need to send email notification to selected members or all the members if a calendar event is created.
I'm a newbie.
Kindly help me, as I'm on a deadline.
I'm using Alfresco 4.0 I need to send email notification to selected members or all the members if a calendar event is created.
I'm a newbie.
Kindly help me, as I'm on a deadline.
You can set a simple rule on "Sites/yoursite/calendar" folder that executes a javascript script which sends the email.
If you need something more complicated then you can use alfresco's "onCreateNode" policy and bind it to "ia:calendarEvent" type.
From the top of my head something like this:
Thanks for all the valuable answers, I was able to complete my work on time. However after some search I got a complete script with all steps. You can follow this link, please read the 6th post for the answer:
https://forums.alfresco.com/en/viewtopic.php?f=47&t=42366
Should roughly go like this:
Create a spring mananged bean, inject
policyComponent
with methods:
Have a look at http://wiki.alfresco.com/wiki/Policy_Component for more details.