WebOffice URL Call Interface for Editing

The webediting module provides a specific URL call interface to trigger/activate WebOffice 10.9 SP1 edit functionality using parametrized URL calls. This is very useful if WebOffice 10.9 SP1 gets integrated with an external web application used for editing and maintaining attribute data of objects which get georeferenced and digitized using WebOffice 10.9 SP1 webediting module. These parameters can be applied to both the WebOffice core and the WebOffice flex.

 

Below you find the http query string parameters to be used for controlling behavior of WebOffice 10.9 SP1 webediting module:

 

Actions / Parameters

Description

tool

Specifies the edit tool. Valid value therefore is EDIT

editlayerid

The Edit layer gets identified by matching the identifier configured in attribute External Layer-ID (Query).

edittableid

The Edit table gets identified by matching the identifier configured in attribute External ID.

edit action

Specifies the edit action to be used. Valid values for this parameter are

create

edit

delete

editfields

List of edit fields for which values get passed. The list gets by default delimited using ;,

e.g. TYP;NAME;REMARK;DISTANCE

editvalues

List of edit field values that get passed. The list must match the editfields parameter count, e.g. MyInputType;MyName;MyNotes;100.87

editkeyfield

Note that these parameters are valid only for editaction edit. The editkeyfield has to contain the field name to search for the feature that should be edited.

editkeyvalue

Note that these parameters are valid only for editaction edit. The values (editkeyvalue) have to be unique (e.g. OBJECTID).

separator

Parameter specifying the separator to be used (default is ;). Note that | is not supported.

x, y and scale

Valid only for edit action create. It is possible to start the edit tool on a specific layer and zoom to an area of interest.

geometry

Parameter allowing to set object vertices (X,Y). In combination with the parameters editvalues and editfields both geometry and attributes can get passed. Then, the editing process can be completed by pressing the button Submit editing.
When creating a point only one pair of coordinates get passed. Creating lines and polygons requires more than one pair of coordinates that have to be separated with ;. The respective coordinates of a pair will be separated either with %20 or .

 

 

Sample call for creating a feature:

http://myServer/WebOffice/externalcall.jsp?project=dataentry&tool=edit&editaction=create&editlayerid=biotope&editfields=TYPE;NAME;REMARK;CLASSIFICATION&editvalues=Natural+resort;Lake+Tahoe;;Lake

 

Sample call for deleting a feature:

http://myServer/WebOffice/externalcall.jsp?project=dataentry&tool=edit&editaction=delete&editlayerid=biotope&editkeyfield=NAME&editkeyvalue=Lake+Tahoe

 

Sample call for editing a defined feature (using editkeyfield and editkeyvalue):

http://myServer/WebOffice/externalcall.jsp?project=dataentry&tool=edit&editaction=edit&editkeyfield=OBJECTKEY&editkeyvalue=2&editlayerid=biotope&editfields=TYPE;NAME;REMARK;CLASSIFICATION&editvalues=Natural+resort;Lake+Tahoe;;Lake

 

Sample call for creating a feature in a defined area:

http://myServer/WebOffice/externalcall.jsp?project=dataentry&tool=edit&editaction=create&editlayerid=biotope&editfields=TYPE;NAME;REMARK;CLASSIFICATION&editvalues=Natural+resort;Lake+Tahoe;;Lake&scale=1000&x=-45159&y=262942

 

Sample call for creating a feature on layer A at a location, which has been determined by a query on layer B:

 

Sample call for creating the geometry plus attributes of a feature:

Sample call for creating a feature in a table:

Sample call for editing a defined feature in a table (using editkeyfield and editkeyvalue):

Sample call for deleting a defined feature in a table (using editkeyfield and editkeyvalue):