Starting Editing From a URL

At the end of this section, you should be able to:

  • Start a Weave Edit session Configuration directly using a URL.

The edit process can be started by including either a 'create' or an 'edit' parameter as part of the URL when starting the client:

http://localhost:8080/weave/Edit.html?create=custom.edit

create will initiate the creation of a new entity, using the configuration specified by the value of the create parameter.

http://localhost:8080/weave/Edit.html?edit=custom.edit&id=1

edit will initiate the editing of an existing entity, using the configuration specified by the value of the edit parameter and using the entity identified by the id parameter. Also, the client will zoom to the extent of the selected entity.

Edit URL opens Weave Client showing Graffiti record with id=1

Both of these URLs also allow you to specify values to be used for the parameter in the edit.

http://localhost:8080/weave/Edit.html?create=custom.edit&description=Graffiti on a traffic signal box