diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-54013A2F-7503-4DA3-85C7-904BCD98B011.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-54013A2F-7503-4DA3-85C7-904BCD98B011.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,282 @@ + + +Criteria for +adding and updating calendar information

Criteria for +adding and updating calendar information

+

The criteria object specifies the calendar +to create or the calendar entry to add or update:

+ +

The criteria object has two main properties: Type and Item.

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria object properties (creating +a new calendar)
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Type

+
+

Specifies the type of calendar information to add or update.

+

For creating a new calendar, this is always "Calendar".

+
+

string

+
+

Possible values:

+
    +
  • "Calendar"

  • +
+
+

criteria.Item

+
+

Specifies the calendar to create.

+
+

object

+
+

Object with the properties specified below

+
+

criteria.Item.CalendarName

+
+

Specifies the drive letter and file name of the new calendar file.

+
+

string

+
+

<DriveLetter>:<FileName>

+

For example: "C:Calendar"

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria object +properties (adding a new calendar entry)
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Type

+
+

Specifies the type of calendar information to add or update.

+

For adding a new calendar entry, this is always "CalendarEntry".

+
+

string

+
+

Possible values:

+
    +
  • "CalendarEntry"

  • +
+
+

criteria.Item

+
+

Specifies the calendar entry to add.

+

The exact set of properties that need to be specified depends on the +type of the entry. For more information about which properties are valid for +a given type, see section Properties and calendar entry types.

+
+

object

+
+

Object with the properties specified below

+
+

[criteria.Item.CalendarName]

+
+

Specifies the calendar file to which the entry is added.

+

If this property is not specified, the entry is added to the default +calendar. If the default calendar does not exist, it is created.

+
+

string

+
+

<DriveLetter>:<FileName>

+

For example: "C:Calendar"

+
+

criteria.Item.<property>

+
+

For detailed information about the properties and their values, see +section Calendar entry properties.

+
+

(depends on the property)

+
+

For example, to add a new meeting:

+

criteria.Item.Type += "Meeting";

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria object +properties (updating a calendar entry)
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Type

+
+

Specifies the type of calendar information to add or update.

+

For updating an existing calendar entry, this is always "CalendarEntry".

+
+

string

+
+

Possible values:

+
    +
  • "CalendarEntry"

  • +
+
+

criteria.Item

+
+

Specifies the new information and the calendar entry to update.

+

The exact set of properties that need to be specified depends on the +type of the entry. For more information about which properties are valid for +a given type, see section Properties and calendar entry types.

+
+

object

+
+

Object with the properties specified below

+
+

[criteria.Item.CalendarName]

+
+

Specifies the calendar file on which the update is performed.

+

If this property is not specified, the update is performed on the default +calendar.

+
+

string

+
+

<DriveLetter>:<FileName>

+

For example: "C:Calendar"

+
+

criteria.Item.LocalId

+
+

Identifies the calendar entry to update. This can be either a parent +or child entry.

+
+

string

+
 
+

[criteria.Item.InstanceStartTime]

+
+

In case of a recurring entry, specify InstanceStartTime to +identify the instance to modify. The specified instance is stored as a new +child entry.

+

If this property is not specified, the whole entry is updated.

+
+

date object

+
 
+

criteria.Item.<property>

+
+

For detailed information about the properties and their values, see +section Calendar entry properties.

+

Properties that are not specified remain unchanged.

+
+

(depends on the property)

+
 
\ No newline at end of file