Configuring Edit Add-In

Introduction

Installation

Licencing

Authentication (IIS)

Cadcorp SIS settings

Web Map Layers settings

Add Map

Add Layers

Manage User Permissions

To summarize and check the setup for the Edit Add-In

Introduction

The Edit Add-In is a licenced extension to Web Map Layers 8.0.

The Edit Add-In allows the creation and editing of data in a supported spatial database (SQL Server, Oracle or PostGIS). Users can create and edit points, lines and area geometry features, as well as adding or editing attribute values.

Installation

The Edit Add-In installation comprises the following files located in specific folders:

Folder Files
App_GlobalResources Cadcorp.WML.EditingExtender.Resources.resx
bin Cadcorp.WML.EditingExtender.dll
css Cadcorp.WML.EditingExtender.css
img Delete_40x40_02.png
  DrawingSelect_40x40_02.png

Copy and paste each of the above files to the folder of the same name in the WebMapLayers8 installation folder, i.e. C:\inetpub\wwwroot\WebMapLayers8.0.nnnn.0.

Licencing

Check that the feature "GeognoSIS|Webmap|Lyr|EDT" is included in the Web Map Layers 8.0 licence file.

The Web Map Layers 8.0 licence file is named cadcorp.lservc and is located in C:\inetpub\wwwroot\WebMapLayers8\bin.

Open cadcorp.lservc in Notepad, or similar ASCII editor, and search for the feature "GeognoSIS|Webmap|Lyr|EDT". If this feature is not included in the file add the line in the licence file supplied for the Edit Add-In to the end of cadcorp.lservc and save the file.

Authentication (IIS)

The Edit Add-In requires security to be enabled on Web Map Layers 8.0. This is to ensure that unauthorised users cannot edit the data. It is also important to define the correct security users for each map, as users are editing the database directly.

Edits to the database are applied using the database user which is defined in the SWD. This allows different security users to have their own SWDs and therefore edit the database using a linked database user.

You can define Windows Authentication or Windows Forms security on Web Map Layers and the Edit Add-In. Steps to apply these security models are described in the Setting the Authentication to be used topic.

Cadcorp SIS settings

To allow users to make edits to a database layer the administrator must:

Note: 'name' and 'description' are reserved names and should not be used for schema column names.

Web Map Layers settings

Add Map

The map is defined using the Admin Interface provided with Web Map Layers 8.0. It is a collection of layers, usually some base mapping and then data layers. Security is defined on each map which will allow the administrator to provide access to a range of editable layers for different users. If you need to create a new map for editing, please see the Add Map topic.

Add Layers

Once a map is created, then layers can be added. For editing, the map will require some base mapping and a GeognoSIS SWD containing any editable database layers, a snapping layer and other required data layers. To manage these layers in your map, please see the Add Layers topic.

Manage User Permissions

Set the Map Permissions and Add-in Permissions.

Security > Manage User Permissions

Permissions will need to be set for each user.

In General Settings > mapname Settings dialog:

Uncheck the Allow Anonymous Access tickbox.

Check the Edit Add-In tickbox.

Click Update.

Defining attributes in the Edit Add-In

As an Administrator, you can decide how attributes need to be defined when they are captured.

  1. Data type - defined by the type hint used on the Schema in SIS - only data entered using this type will be accepted.
  2. A choice of whether the field is mandatory or not.
  3. Options for defining attributes which must be used, selected from a drop down by the user

Select Configure Edit Add-In from the drop-down menu.

You will see the active SWD with editable layers listed in a drop down menu:

Choose any layer and click OPEN to view its attributes. Use the options to determine how users handle each attribute on Web Map layers- for eg, making it mandatory or changing the data field type.

Attributes are inherited from the Schema entries in SIS. To add new attributes, click here.


Send comments on this topic.