Thank you for your feedback! You have rated this topic in the last 30 days.
Activities Collection
ActivitiesCollection
A collection of Activity objects.
ActivitiesCollection Methods
createActivity
Creates a new Activity.
Returns
The newly created activity with the following values:
StartDateTime - The date and time that this method is called
Duration - The default activity duration
DataKey - null
AllDayEvent - false
Status - 0(Normal)
EnableReminder - true
ReminderInterval - The default activity reminder interval
Importance - 1 (Normal)
ShowTimeAs - 3 (Busy)
SnoozeInterval - The default activity snooze interval
Subject - ""
Location - ""
Description - ""
Remarks
Note: that this method does not add the newly created activity to the Activities Collection. In order to do that, you must call addActivity off of the WebScheduleInfo object.
getItem
Gets the Activity from the specified index.
Parameters
<dl>
<dt> index </dt>
<dd>The index of the Activity in the collection.</dd>
</dl>
Returns
An activity object.
getItemFromKey
Gets the Activity from the specified datakey.
Parameters
<dl>
<dt> dataKey </dt>
<dd>The dataKey of the activity to retrieve.</dd>
</dl>
Returns
Returns the Activity if its in the collection. Otherwise it will return null.
ActivitiesCollection Properties
length
The number of activies in the ActivitiesCollection.
This page has encountered an error. We've attempted to send the information to the server.