Enabling Map Control in a Form using Form Builder

The GIS Map Control feature facilitates to record and view the geo-location information in a form. Using Form Builder, you can enable one or more map controls in a form and manage unique specifications for each map control.

Prerequisites
  1. GIS Settings page is configured.
    To configure GIS  Settings, refer GIS Settings.
Steps
  1. In Design tab, create a section, refer Creating a Form Using Form Builder.
  2. In the controls pane, expand the Advanced Controls list, drag and drop the Map into the section.
    The map control area is displayed.

  3. Perform the following steps to enable the data mapping of location details in the application to ESRI Outfields: 

    1. In the controls pane, expand the Advanced Controls list, drag and drop the GISDataMapper into the section.
      The selection dialog box is displayed.

    2. From the Layer drop-down list, select the required layer.
      Available options are the editable layers that are configured in GIS Settings. For information on adding layers, refer Adding Layers.

    3. From the Mapping Type drop-down list, select the data type required to be mapped with the ESRI Outfields.

      Note: It is mandatory to map the following data types for each layer:

  1. In the Outfield Name box, enter the name of the outfield attribute as defined in ArcGIS database.

  2. From the MW Field drop-down list, select the MW field name corresponding to the outfield name.
    Note: MW Field for the mapping types ModuleID and ControlName are fetched within the application.

  3. To continue mapping data for all data types, perform the following steps:

  1. Click Add.
    A row is created.
  2. Repeat steps a to e.
  3. Click Ok.
  1. To turn on the GIS Map View control in the list page of the form, perform the following steps:

    1. In the Design tab, click the Attributes tab.
      The form attributes are displayed.

    2. From the ShowGISMapView drop-down list, select True.
      Note: This functionality is applicable only to form that have list pages.

  2. Click the Settings tab to specify form details. The fields displayed in this page are:

    Form Id: This determines the unique ID for the form. Rename the form according to requirements.
    - Header: This denotes the text to be displayed as header to the form after being published.
    - Parent Module: This determines the location where the XML form will be available in the application.
    1. In the Header box, enter the name of the form.
    2. From the Parent Module list, select the parent module.
  3. Click Save. The Forms List page is displayed.

Note: The form must now be published to be made available in the application. For information on publishing a form, refer Publishing a Form.


© Aurigo Software Technologies Inc.