<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Outlook Appointments from InfoPath fields</title><link>https://www.infopathdev.com:443/forums/thread/92620.aspx</link><pubDate>Sun, 01 Sep 2013 20:58:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92620</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=92620</wfw:commentRss><description>&lt;p&gt;Yes, you could create an iCal format message and attach it to the email that you send. Some work, but definitely doable. &lt;/p&gt;</description></item><item><title>Outlook Appointments from InfoPath fields</title><link>https://www.infopathdev.com:443/forums/thread/92597.aspx</link><pubDate>Fri, 30 Aug 2013 11:30:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92597</guid><dc:creator>HHearle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=92597</wfw:commentRss><description>&lt;p&gt;Hi, I am trying to design a code that will send an outlook appointment to specified email recipients in an InfoPath 2003 form (I&amp;#39;m using Outlook 2007 on an exchange server as part of a large project group- the infopath form is basically a project plan where the organiser can assign tasks and arrange meetings).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have worked out the following code which can put in a pre-defined appointment: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;function appt( subject, Location, Start, End, ReminderMinutesBeforeStart )&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;this.Subject = Subject; this.Location = Location; this.Start = Start; this.End = End; this.ReminderMinutesBeforeStart = ReminderMinutesBeforeStart;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;function saveAppt( obj )&lt;br /&gt;{ &lt;br /&gt;out = new ActiveXObject(&amp;quot;Outlook.Application&amp;quot;);&lt;br /&gt;appt = out.createItem( olAppointmentItem );&lt;br /&gt;appt Subject = obj.Subject;&lt;br /&gt;appt.Location = obj.Location;&lt;br /&gt;appt.Start = obj.Start;&lt;br /&gt;appt.End = obj.End;&lt;br /&gt;appt.ReminderMinutesBeforeStart = obj.ReminderMinutesBeforeStart;&lt;br /&gt;appt.Save ();&lt;br /&gt;}&lt;br /&gt;newAppt = new appt (&amp;quot;Subject goes here&amp;quot;, &amp;quot;Location goes here&amp;quot;, &amp;quot;The start time and date&amp;quot;,&amp;quot;End Time and date&amp;quot;,&amp;quot;Reminder time&amp;quot;);&lt;br /&gt;saveAppt( newAppt ); &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What I would like to be able to do is be able to send this to another user, rather than putting it in my own calendar.&amp;nbsp; I would also like to specify the appointment information using field values in the form.&amp;nbsp; Is this possible?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item></channel></rss>