Hello every one, I hope you are well, I would like to ask if you know some Forge component or a way to schedule a meeting in Outlook from Outsystems in a reactive app, or if some one has an external app to do that, I would appreciate all the answers.
Thanks
Hi,
depends on what you actually want to achieve. If it is just about sending a calendar entry to recipients you could generate a VCALENDAR / VEVENT isc file, attach it to an email and send it. See the OML below for an example. More information on VCALENDAR can be found here https://icalendar.org/
If you need to send out invitations and process RSVPs you may consider using Microsoft Graph API in combination with a resource mailbox. You would send invitations to recipients on-behalf of that resource mailbox and use the subscription endpoints of Graph API to process RSVPs. This is a more advanced topic. You may find my article here https://medium.com/itnext/getting-started-with-outsystems-and-microsoft-graph-123006356d41 useful to get started.
Stefan
Thank you Stefan for the answer, what I need is to schedule a meeting and send it to a list of users I have on a table, I reviewed the OML you shared, its good, but it downloads a file, is there a way to just create the meeting?
Hi Rafael,
instead of downloading the file you can add it to a mail message (you would need to add some ical attributes like ATTENDEE and ORGANIZER). You have to add another mail part of type text/calendar and the contents of the VCALENDER. I do not have an example for that as iam not using this for meeting invitations. However you can use
* RichMailCreate
* RichMailPart
* RichMailSend
from the RichMail extension to construct and send you mail.
If you have access to a Microsoft 365 environment is strongly suggest to use Microsoft Graph API to send out invitations from a resource mailbox. Much easier and you can (optionally) process RSVPs of meeting requests.
Hi Stefan thank you for you comments, I have something like this for the VCALENDAR configurations, which works fine because this is what is included into a file an I can create the meeting from that file.
"BEGIN:VCALENDAR" + NewLine() + "VERSION:2.0" + NewLine() + "PRODID:-//OutSystems//VCalendar Demo 1.0//EN" + NewLine() + "BEGIN:VEVENT" + NewLine() + "UID:" + GenerateGuid() + "@example.com" + NewLine() + "DTSTAMP:" + FormatDateTime(CurrDateTime(),"yyyyMMddTHHmmssZ") + NewLine() + "DTSTART:" + FormatDateTime(Start,"yyyyMMddTHHmmssZ") + NewLine() + "DTEND:" + FormatDateTime(End,"yyyyMMddTHHmmssZ") + NewLine() + "SUMMARY:" + Summary + NewLine() + "CLASS:PRIVATE" + NewLine() + "END:VEVENT" + NewLine() + "END:VCALENDAR"
But I dont get the part you say You have to add another mail part of type text/calendar and the contents of the VCALENDER. I do not have an example for that as iam not using this for meeting invitations.
How can I create that text/caledar part inside an email?.
Hi, The RichMailPart server action from the RichMail extensions module allows you to create individual content parts for emails. The text/calender type is the Content Type to set.
Hi Stefan, I tried to download that extension from Forge, but that extension is not displayed in the search results, I think it is a very old extension, do you know another forge component to do something similar to RichMail? I will lok for something similar in internet, but if you know another one, can you tell me pleaase?
I've already used this component in a project. Had to make some adjustments but I think that's the best way to go instead of using the vcalendar/vevent thing.
Hope this helps.
Hi Stefan.
Thank you again, I can't open the link you shared,
Which component is that? can you tell me the name? I can look for it
It was Nuno :-)
Nuno refers to the Graph API component available on the Forge here https://www.outsystems.com/forge/component-overview/8943/microsoft-office-365-graph-connector
I already wrote above, just like Nuno now, that Graph is the way to go if you have access to an instance :-)
Best
hi @Stefan Weber , i am also looking for a solution of sending email with meeting invite file. I understood how to create a ics file with all the details, just did not understand one thing, where to add the link to get into the meeting?