- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2015 05:24 AM
Hi All,
I have been trying to send Meeting Invitation to Outlook. I have created Email Template and import export map ( from Email Templates - ServiceNow Wiki ).I have been able to send an email with "not supported calendar message.ics" file attachment. When i open that attachment in notepad, the content is same as the template message.
I have used this code in Email Template.
Message Text:
BEGIN:VCALENDAR
PRODID:-//Service-now.com//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:${to}
ORGANIZER:MAILTO:${from}
DTSTART:${dtstart}
DTEND:${dtend}
UID:${sys_id}
DTSTAMP:${dtstamp}
DESCRIPTION:${u_description}
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-DISALLOW-COUNTER:TRUE
X-SNSYSID:{$sys_id}
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
In my Email Notification,type is Meeting Invitation.
When i check in Email log(outgoing mail), the body field is empty.
Can anyone tell where i am going wrong?
Thanks,
Jennifer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2015 07:32 AM
I'd recommend heading back to the sys_impex_map table and looking there. The new record you added into this table needs to be name icalendar.your_table_name . Also ensure that the fields you are referencing for dtstart and dtend are date/time fields. Not just date fields.
Going to shamelessly self plug an article I whipped together as well: ServiceNow Calendar Invites - Bradford Shelley
I apologize for the poor formatting. Hopefully the gibberish I've typed in there can help out as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2017 06:32 AM
Bradford, would you happen to know how to name the file when it's being sent to Outlook? The filename is still called "not supported calendar message.ics". Not a bit thing really but looks a bit messy.
Here's what i have in my template:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Service-now.com//Outlook 11.0 MIMEDIR//EN
BEGIN:VEVENT
DTSTAMP:${dtstart}
DTSTART:${dtstart}
DTEND:${dtend}
DESCRIPTION:${description}
STATUS:CONFIRMED
SUMMARY:${short_description}
END:VEVENT
END:VCALENDAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2017 11:42 AM
Hey Henrik,
Hrm, "not supported calendar message.ics" usually indicates that something isn't working quite right.
I'd take a quick look over at the article I wrote up and linked earlier again just to double check everything. If that all looks good, then you might need a couple more properties in your iCalendar code (iCalendar properties, not ServiceNow properties). You might need to add a METHOD and then an ORGANIZER and/or some ATTENDEE people as well depending on the METHOD chosen. The article I wrote has some links that talk though the finer points of each different property available in the iCalendar format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2017 11:37 PM
Hi Bradford and thanks for your post on my question.
You actually helped me in another thread with the same question. I think my issue was that I was not using an email template in combination with that I was missing some vcalendar properties (mainly the "ORGANIZER" property). But thanks for the post and help you gave!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2015 02:44 AM
I am also facing the same issue while trying to send invites on incident table, any leads on this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2015 03:10 AM
Hi Aakanksha,
These are the steps I followed:
1) Type sys_impex_map.list in navigation filter and map required fields.
2) Created email template by referring (Email Templates - ServiceNow Wiki).
3) Created email notification.
Make sure the type is "Meeting Invitation" and the option is "Plain Text Only" (the section where it says 'What it will contain').
When I faced the issue "not supported file attachment.ics", I deleted and re-created from the scratch for sending Invitation and it worked. Make sure to give different name from previous one.
Thanks,
Jenny