diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F97A125E-0DCC-4E4A-B607-42068DBD12EC.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F97A125E-0DCC-4E4A-B607-42068DBD12EC.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,107 @@ + + +Criteria for +adding and editing landmark information

Criteria for +adding and editing landmark information

+

The criteria object specifies the landmark +or landmark category to add or edit.

+

The criteria object has two main properties: Type and Data. +These are described in the following table.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria object properties
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Type

+
+

Specifies the type of landmark information to add or edit.

+
+

string

+
+

Possible values:

+
    +
  • "Landmark"

  • +
  • "Category"

  • +
+
+

criteria.Data

+
+

Specifies the information to add or edit.

+

The exact set of properties that need to be specified depends on the +type of information. Moreover:

+
    +
  • To add a new landmark or landmark category, do not specify +the Data.id property. The system generates the new ID +automatically.

  • +
  • To edit an existing landmark or landmark category, first +retrieve the correct ID using GetList, +and then specify this ID as the Data.id property. Do +not change the ID value.

  • +
+
+

object

+
+

Object with the properties specified below

+
+

[criteria.Data.DatabaseURI]

+
+

Specifies the URI of the landmark database on which the add or edit +operation is performed.

+

If this property is not specified, the operation is performed on the +default database.

+
+

string

+
+

For example: file://c:landmarks.ldb

+
+

criteria.Data.<property>

+
+

Specifies one of the properties for the landmark or landmark category +to add or edit:

+ +
+

(depends on the property)

+
 
\ No newline at end of file