uploadCalendarEntries

Creates new calendar entries from a file. (V1—V1.0.3)

Syntax

public void uploadCalendarEntries( long folderId, String XMLCalendarData );

Description

The uploadCalendarEntries operation uses iCal information in an XML string or in an attachment to add entries to a calendar folder.

NOTE:The uploadCalendar command in the facade-client.bat batch file accepts two required parameters and an optional third parameter. The second parameter is a file containing XML that specifies iCal data. The third, optional parameter is an iCal formatted file. Both files must be located in the same directory as facade-client.bat. Again, if you want the iCal file to be the only source of data for newly created entries, place an empty XML document in the file specified as the second command parameter.

Parameters and Return Value

folderId

The binder identifier of the calendar folder that is to contain the new entries.

XMLCalendarData

A string containing XML formatted calendar data (<doc><entry>iCal data</entry>...</doc>). If you wish to specify all of your calendar data in an iCal file attached to the message, pass an empty document for this string (<doc></doc>).

return_value

None.

Example

call.setOperationName(new QName("uploadCalendarEntries")); Object result = call.invoke(new Object[] {new Long(21), s});

This code creates new entries in the calendar folder whose binder ID is 21. Teaming uses XML-formatted iCal information contained in the s variable to create the new calendar entries.

See Also