Passing Custom Map Content

Within this release we have enabled three new key fields to be passed as a part of an online form that contains a map.

Where there is another organisation responsible for a road/street, like Transport for London in the case of London Boroughs, there is now the ability to import a list of all streets with an indicator to set the organisation responsible.

The prerequisite is that you provide a file of addresses in CSV format and clearly indicate which column heading contains the responsible party. This value will be populated into the map's CustomField so it's obviously important this file is accurate/kept up to date.The three fields are as follows where {MapSectionId} is the field id of the map control in your form:

Field Code

Field Name

Field Value

{MapSectionId}CustomField

{MapSectionId}CustomField

The value will come from the latest successful import of the Address Import file.

The value for the field will be set to the organisation field of the row where the responsible party/owning organisation field matches the closest street or road to the point selected on the map as derived by the Bing maps API.

{MapSectionId}LocationHyperlink

{MapSectionId}LocationHyperlink

This value will be a set to the raw URL that when pasted into the address bar of web browser will plot the selected point on a Bing map.

{MapSectionId}NearestStreetOrRoad

{MapSectionId}NearestStreetOrRoad

The value will come from the latest successful import of the addresses.csv file.

The value for the field will be set to the Address1 field of the row where the Address1 field matches the closest street or road to the point selected on the map as derived by the Bing maps API.

The following is an example of the field id and its location in eDesigner for your form:

{MapSectionId} for use in the key field name

In order to pass these three fields this function one needs to:

a) Have already provided us with an extract of all addresses and the responsible party/owning organisation

b) Check the 'Check nearest road to selected point' option as shown (second to bottom) below:

New ability to check for the nearest road to a point

When this data has been set up and linked to an OpenProcess the following shows the three fields mapped - those directly below the map:

The three new custom key fields

As these are key information fields these can:

a) Be used in conditional logic/rules

Using custom map fields in a condition of OpenProcess Flex

Note

Lambeth Council they use this and OpenProcess Flex to push jobs to Transport for London (TfL) if the job is on a road that's the responsibility of TfL. Preventing this job from having to be manually sent to TfL but still enabling Lambeth residents to report them in the one form.

b) Be used as template fields in notifications e.g. Emails/SMS/WhatsApp/Messenger messages

Template Fields from the map fields

c) Be used in document management templates (where the EDMS function is licensed)

Last updated

Was this helpful?