hockman11

Export to Outlook Appointment

Discussion created by hockman11 on Jul 2, 2014
Latest reply on Jul 3, 2014 by erolst

I used the script recommended on forums but the date does not translate to the outlook appointment. What needs amended? Thanks in advanced.

 

Set Field [Event::g_Data ; "BEGIN:VCALENDAR¶VERSION:2.0 ¶PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN¶BEGIN:VEVENT¶UID:¶DTSTAMP:" & Year(Event::start) & Month(Event::start) & Day(Event::start) & ¶ &"DTSTART:" & Year(Event::start) & Month(Event::start) & Day(Event::start) & ¶ & "DTEND:" & Year(Event::end) & Month(Event::end) & Day(Event::end) & ¶ & "SUMMARY:" & Event::Title & "¶END:VEVENT ¶END:VCALENDAR"]
Set Variable [$path ; Get(TemporaryPath) & “event.ics”]
Export Field Contents [Event::g_Data ; “$path” ; Automatically Open]

 

This is the data returned:

BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN

BEGIN:VEVENT

UID:

DTSTAMP:2014711

DTSTART:2014711

DTEND:2014711

SUMMARY:Lerch: Progress Monitoring Scholastic Reading

END:VEVENT

END:VCALENDAR

 

2014-07-02_2156.png

Outcomes