-
Events
-
Customer Portal
-
Customer Engagement Centre (Previously known as CSVu)
-
General Form Guidance
-
Editing Forms
-
Benefit Forms
-
Revenues Forms
-
'How to...' Sessions
-
Health (CHC)
-
Technical Area
-
Open Process
-
Forms
-
Blue Badge and Concessionary Travel
-
Waste Services
-
Awards and Grants
-
Social Care Financial Assessments
-
IEG4 Team Updates
-
BACAS
-
Tender Responses - General
-
Internal Process Guides
-
Public Protection
-
Built Environment
How can I enable a form to pass the geolocation of an issue captured in OpenProcess?
Kicking off a process with a geolocation passed from eDesigner
In release 1.10 of OpenProcess we illustrated how to make a process capable of displaying a map. As you need a process that has already got this it is important that you first read this and add a geotag to your process.
We've created a process Pothole Report that has a geotag field already and the code for this is Pothole.
Now we've done this we need to link our Pothole Reporting form to OpenProcess as we would do normally i.e. by adding an action to the form in System Management:
Important
Remember - as I made this mistake whilst writing the release notes! - if you select 'Customer account is mandatory' a process will only be created if the form is completed inside OneVu. If you want it to be completed outside of OneVu as well this should not be checked.
So now we've got a process that is capable of receiving a location and we've linked our Pothole Reporting form to the process for Pothole Reports.
Now we need to link the map that is capturing the report location to the geotag we created for our process - so open your form:
And in designer mode add a map using Add item or click the edit button to edit the existing map. When you're in this screen you'll see at the bottom there is a new 'Map to a key information field in OpenProcess' for the map function:
What you can also see is that we have given the Field Id the same name as the Geotag from OpenProcess. By doing this we are saying that when the location is recorded in this form it should be mapped to open process and displayed in a map within there. We have now just built the ability (without code) to add a map, link it to a process and put that location onto the map for a user to see in OpenProcess.
The following shows completing the form and identifying the location:
This shows the same location when the process is opened in the Fields tab of OpenProcess: