Configuring a Map Panel

Learn to configure a Map panel.

The configuration of a map panel consists of

  • the integration of the RecordMap widget in a SearchSublist or ExpandChildren header or in a form,
  • a MiniDetails control definition in field group <InfoAreaID>.Address for the respective info area (fallback: <InfoAreaID>).

To configure a maps panel for the Related Area (e.g. the ExpandChildren header for FI as configured in UPDATE_DEFAULT):

  1. Add the info area of the records you want to display on the map to the ExpandChildren header, see Related Data area (Header Info Areas).

  2. Enter a name for the tab (or panel) in the Text field.
  3. Define the map panel in the Form Name field using the RecordMap widget:
    {
     type: "RecordMap"
    }
  4. Create a field group <InfoAreaID>.Address for the info area and define the MiniDetails control (e.g. field group FI.Address in UPDATE_DEFAULT). This control is used for the popup in the Bing Map. The header of the popup displays the info area's default table caption.

To use the RecordMap widget in a form:

The RecordMap widget is available in the Form Designer (under CRM-specific widgets). It accepts one or more record uids as value. For further details, see Data Binding.

Examples:

$component(url).@uid

This binds the RecordMap widget to a record selected e.g. in a RecordListBox.

$widget(listView1).@selection(rowsUid)

This binds the widget to multiple records selected in a ListView.

Note: For information on all available options for the RecordMap widget, see the “How to Use Maps” at https://support.aurea.com.