Sending an Outlook Calendar Event

Sending an Outlook Calendar Event

Is there an extension that allows me to send an outlook calendar event instead of a regular email?
I'm able to create the vcs file correctly and if I use Outlook to open it, I can send it and it works ok. But I'd like to send it without using outlook.
As anybody developed something to do this?

Hey guys. Thanks for the tips. It works, but not exactly as I thought.
I'm not looking to send the vcs as an attachment, but as an email itself, like when you send an appointment request.
Do you know how to do that?

Hey guys. Thanks for the tips. It works, but not exactly as I thought.
I'm not looking to send the vcs as an attachment, but as an email itself, like when you send an appointment request.
Do you know how to do that?

I don't think it is possible the way you want it ... to me this is an Outlook Special thingy

What you could try to do is add Attendee and Organizer information to the file.
Change the extension into .ICS (mime type text/calendar) and see what that will bring you

Here are some sample lines how to incorporate these

ORGANIZER;SENT-BY:"MAILTO:sray@host.com":MAILTO:jsmith@host.com

ATTENDEE;RSVP=TRUE:MAILTO:jsmith@host.com

ATTENDEE;RSVP=TRUE;ROLE=REQ-PARTICIPANT:MAILTO:jsmith@host.com

ATTENDEE;RSVP=TRUE;ROLE=CHAIR:MAILTO:jsmith@host.com

For full extensive :-) description see this site http://www.ietf.org/rfc/rfc2445.txt

Well, I made a quick test to see whether it would work (simple edit record with all the parameters, calling the action from the extension), but alas it doesn't work. That is, it returns Error = false and empty error text, but no appointment is created.

Well, I made a quick test to see whether it would work (simple edit record with all the parameters, calling the action from the extension), but alas it doesn't work. That is, it returns Error = false and empty error text, but no appointment is created.

Hmmm...it worked for me.
What are the input parameters you're using? you don't need to say de password ;)

Well, I made a quick test to see whether it would work (simple edit record with all the parameters, calling the action from the extension), but alas it doesn't work. That is, it returns Error = false and empty error text, but no appointment is created.

Hmmm...it worked for me.
What are the input parameters you're using? you don't need to say de password ;)

Hello Gonçalo,

I think that the best way to show to Kilian and everyone that could be interested in this extension, is adding an eSpace showing the usage of your action and even some comments to certain steps I think that are important.
Just a tip ;-)

Ok, after fixing the above, I now get this: "The expected XML node type was XmlDeclaration, but the actual type is Element." I'll do some more tests tomorrow to see if I can pinpoint the source of the problem...

EDIT: Couldn't resist doing a last test. It seems the AutodiscoverUrl isn't working. Could be a permission thing, but I don't have time to look into it.

Yes, that's what I mean, AutodiscoverUrl didn't work for me. Apparently it's a setting in the server to allow this or not. But since we have a single Exchange server at a fixed location, directly setting the URL posed no problem.

Yes, that's what I mean, AutodiscoverUrl didn't work for me. Apparently it's a setting in the server to allow this or not. But since we have a single Exchange server at a fixed location, directly setting the URL posed no problem.

Don't want to side-track this thread, but passing parameters is always an option.
If you have extensions using that type of code I recommend changing it.
That the particular line of code is actually deprecared at the moment. From what I know that shouldn't even work at all in 7.0.

Don't want to side-track this thread, but passing parameters is always an option.
If you have extensions using that type of code I recommend changing it.
That the particular line of code is actually deprecared at the moment. From what I know that shouldn't even work at all in 7.0.

We're using 6.0, so we're quite safe then. Good to know it's not available in 7.0, as we are considering moving to 7.0 in the near future. Of course it is always possible to pass parameters, but it can be quite cumbersome. I have an extension with some 20 actions, all of which need to know a bunch of configuration settings for connecting to external webservices (certificates, URLs, ports etc.), and having to pass all these every time I make a call is plain stupid. Perhaps OutSystems can actually do something about it, and provide a cleaner way to eSpace site properties, or, maybe even better, add site property-like functionality to extensions.

I am trying to achieve similar behavior. I am using Calendar widget in Oustystems and sending email to the users with a link "Add to Calendars". How we can convert the calendar events in ics file and send it as an attachment. So that a user can add it to their Outlook or gmail account. Any help would be highly appreciate.

First, you resurrected a post over three years old, and quoted a post that's over five years old. In general, it's better to create a new post (and reference the old one). This will get you more attention, and allow you to be more on target.

That said, I'm not sure what you want to achieve. You say you are sending an e-mail, and that e-mail has a link in it? Where does that link point to? And what do you mean by "convert the calendar events in ics file and send it as an attachment"? The ICS file is the attachment? Perhaps you could describe what you want to achieve, functionally.