cancel
Showing results for 
Search instead for 
Did you mean: 

Some event notification by email

khaem
Champ in-the-making
Champ in-the-making
Hello,

I am working on Alfresco Labs 3E on Linux Debian, and everythings go well.

I'm searching to add a new template but i didn't find the variable names.
For exemple in email templates i have $(document.name) or $(space.name) etc.

I want to add new email templates to receive notification on Calendar Event, Blog, Wiki, or Discussion and i search the vars for these spaces. (it's not event.name  Smiley Sad )

Do you know what they are ?

Thanks,

Best Regards,
Emmanuel.
8 REPLIES 8

filmaker83
Champ in-the-making
Champ in-the-making
Hi, has someone experienced about a notification by email if you enter events on the calendar? have you any suggestions? thanks  :?

cjimenez2581
Champ in-the-making
Champ in-the-making
any one?  :?:

efestione
Champ in-the-making
Champ in-the-making
Hi all,
I wrote this piece of code for calendar notifications (call this template "calendar_notify_user_email.ftl"   and put it into "datadictionary->email template" in order to use it with a send mail rule):


<#assign displayPaths=document.displayPath?split("/")>
<#assign site=displayPaths[3]>
<#assign contenuto=document.content>
Event title: ${document.properties["{http://www.alfresco.org/model/calendar}whatEvent"]}

Description: ${document.properties["{http://www.alfresco.org/model/calendar}descriptionEvent"]}

Day of the event ${document.properties["{http://www.alfresco.org/model/calendar}fromDate']?date}

from: ${document.properties["{http://www.alfresco.org/model/calendar}fromDate']?time}
to: ${document.properties["{http://www.alfresco.org/model/calendar}toDate']?time}

location: ${document.properties["{http://www.alfresco.org/model/calendar}whereEvent"]}


Please do not reply to this mail. Complete calendar is at:
http://host:8080/share/page/site/${site}/calendar

Event created by: ${document.properties["{http://www.alfresco.org/model/content/1.0}creator"]}

Hope that helps
Alex

filmaker83
Champ in-the-making
Champ in-the-making
Thanks much, Alex, I'll Try!  Smiley Very Happy

bengrah
Champ on-the-rise
Champ on-the-rise
Hi filmaker83,

What you could do is create a Scheduled Action - http://wiki.alfresco.com/wiki/Scheduled_Actions

Have the action link to a script which creates an email action. Your script could check out if there is anything new added to the calendar and send that info to relevant parties

I've developed something similar for Data Lists; the scheduled action checks all projects and all lists within a project once a day, if there's anything new, or matching a criteria (such as a Due Date coming in a week, or next day) then an email is sent to the user that list entry is actioned against.

cjimenez2581
Champ in-the-making
Champ in-the-making
Hi all,
I wrote this piece of code for calendar notifications (call this template "calendar_notify_user_email.ftl"   and put it into "datadictionary->email template" in order to use it with a send mail rule):


<#assign displayPaths=document.displayPath?split("/")>
<#assign site=displayPaths[3]>
<#assign contenuto=document.content>
Event title: ${document.properties["{http://www.alfresco.org/model/calendar}whatEvent"]}

Description: ${document.properties["{http://www.alfresco.org/model/calendar}descriptionEvent"]}

Day of the event ${document.properties["{http://www.alfresco.org/model/calendar}fromDate']?date}

from: ${document.properties["{http://www.alfresco.org/model/calendar}fromDate']?time}
to: ${document.properties["{http://www.alfresco.org/model/calendar}toDate']?time}

location: ${document.properties["{http://www.alfresco.org/model/calendar}whereEvent"]}


Please do not reply to this mail. Complete calendar is at:
http://host:8080/share/page/site/${site}/calendar

Event created by: ${document.properties["{http://www.alfresco.org/model/content/1.0}creator"]}

Hope that helps
Alex


Hi Alex, thanks!!! It works  :mrgreen:

nickbsd
Champ in-the-making
Champ in-the-making
I'm looking to do the same thing.

Can someone please spend a few minutes to help a newbie on how to implement notifications?

I've deployed Alfresco Share for our department so users can collaborate files without the need for MS Sharepoint. Everything has been working great and everyone loves the 'Open Source' solution I've deployed.

A request has now came in from my boss to see if an e-mail could be sent out to the 'Site Users' when a new user is created and when a new forum post has been inserted. I've already worked out setting up notifications when files are uploaded but I can't seem to wrap my head around this one.

PLEASE PLEASE PLEASE for a few minutes of your time. You guys are awesome.

Thanks

nickbsd
Champ in-the-making
Champ in-the-making
Disregard my rant below. I just found out they released version 4.0

Thanks


I'm looking to do the same thing.

Can someone please spend a few minutes to help a newbie on how to implement notifications?

I've deployed Alfresco Share for our department so users can collaborate files without the need for MS Sharepoint. Everything has been working great and everyone loves the 'Open Source' solution I've deployed.

A request has now came in from my boss to see if an e-mail could be sent out to the 'Site Users' when a new user is created and when a new forum post has been inserted. I've already worked out setting up notifications when files are uploaded but I can't seem to wrap my head around this one.

PLEASE PLEASE PLEASE for a few minutes of your time. You guys are awesome.

Thanks