Use this request for querying an object and get a map image as result. The selected object is displayed in the center of the map.
Note: The subsequently listed parameters marked with ‘mandatory’ all need to be provided for getting correct results to the query request. (For further information about the parameter see chapter Query Parameters.)
•query (mandatory)
The query parameter identifies a WebOffice 10 R3 query; for correct operation an external Layer ID must be configured in the used WebOffice 10 R3 project for the specific layer to be queried on.
•keyname (mandatory)
The keyname parameter identifies the field to be queried on. Note that you must use the technical field name (not the alias name specified in the ArcMap document or in the geodatabase).
•keyvalue (mandatory)
This parameter specifies the value to be searched on.
•returnkey
Specifies the field to be returned in the response for being able to programmatically identify the resulting object.
•callback_search_mw
The parameter callback_search_mw specifies the name of the JavaScript method to be used as call back function for single layer query results
Note:
When using several search fields it's good to know that these fields are combined using AND operator. The order of these values does not have any effects, however, it's necessary to number the parameters (starting with 1): query1=…&keyname2=…&keyvalue3=…&query2=…&keyname1=…&keyvalue1=…&query3=…&keyname3=…&keyvalue2=…
Example:
http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild/client_mapwidget/default.jsp?baseURL=http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild&project=WebOffice_SampleProject_Doku&width=600&height=400&activetools=NAVIGATION&query=CTY&keyvalue=Innsbruck&callback_search_mw=searchResult&keyname=CITY_NAME