12-28-2022 14:25 PM
In this video I show how you can use Microsoft Flow to create and send out ICS Format Calendar invites.
Here's the link for the ICS File Format: https://github.com/aprildunnam/Flow/blob/master/ICSFormat
watch?v=DU_d71ykRJA
yes like this
TZID:Europe/Amsterdam
Does anyone know how to send the invite with reminders?
Anyone knows how to include time zones to the ICS? To be more specific... I need to send an automatic .ics to people in different parts of the world, so not everybody will have the meeting at 11:00AM, some will be earlier, others later... Any ideas on how to accomplish this??
@Anonymous I ran into this also. I had to first run my date through a formatDateTime expression, and THEN I was able to do the replaces on it. The reason is Flow is bringing in my Sharepoint list item date format as YYYY-MM-DD and not yyyy-MM-ddTHH:mm:ssZ, so I had to reformat it to that first using one compose, then I could do the replace on the output of that compose.
formatDateTime(body('Get_item')['Date'],'yyyy-MM-ddTHH:mm:ssZ')
Hi @aprildunnam ,
Thanks a lot for the useful video.
I did exactly as you did but I keep running into an error with the FormatStartTime step: Unable to process template language expressions in action 'FormatStartTime' inputs at line '1' and column '2922': 'The template language function 'replace' expects its first parameter 'string' to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#replace for usage details.'.
Now I know why I get this error. It is because of this highlighted part in the code Replace(replace(body('Get_item')?['Date'],'-',''),':','')
The thing is that this does not seem to return anything (i.e. it's a blank). I tried different things like Start Date, StartDate, Start Time, StartTime but none of that works. On the other hand, EndDate works correctly. Of course, I can remove the FormatStartTime part but then I end up with an empty .ics file in the attachment. Any idea what the correct name should be instead of Date?
Thank you very much.
Hi Aprildunnam L ,
Thank your time to make a video for events creation using mslfow. I am following your video and I have one query.
How can we add RSVP to the ICS calendar.
Unless the recipient has turned on the 'Automatically accept meeting Invites' function in their Outlook, I don't believe that you can force it to create an item on the calendar.
In Outlook 2016 and beyond, if you receive a meeting invite, it does show on your calendar as long as it's in your inbox, but it's not actually accepted so there would be no reminders. If the invite is deleted, then it is no longer shown on the calendar.
With Calendar items there are a host of properties that are basically invisible to you. AllDayEvent is one of those and I suspect Recurrence information is also. Try using the link below to see the properties of an event that recurs and see if it gives you the information you need.
https://<site_url>/_api/web/lists/GetByTitle('<Calendar_List_Name>')/items<ID of the recurring item>)