Editing Geometry from Workflow Form
An odd one here; I'm trying to create functionality within a workflow/display form that would allow my mobile users the ability to adjust the location of a point on the map.
When I add the Geometry Picker activity to the form, populate it with the load event it knows that there's geometry there. When I click on the geometry picker activity in the form in the GO app (Windows or iOS), the geometry editing tools appear, I'm able to move around on the map but when I hit the 'Set Point' button, nothing happens. As a test, in the change event, I've added a friendly message in an alert and a log activity to try and write activity to the application log, I get nothing.
Any ideas...?
-
Hi Bryan,
Thank you for your question. There might be a couple things going on, so please bear with me. My first thought would be that because you're inputting an existing geometry into the picker, it's being treated as editing a current point rather than overwriting it with a new one. In that case, the existing geometry point might be showing up but not getting selected, then hitting Set Point is ending your edit session, but because no change was made, the change event isn't firing. The geometry picker point symbol can be a little faint (varying by your app's branding colours), so it could show up like this:
You could also try perhaps just overriding the existing point in your Workflow rather than trying to update it (i.e., just let the user define a new point and update your feature with that new geometry). That might be a more direct solution.
Could you please show me how you have your load event configured in your Workflow, and I'll try to reproduce the issue on my side?
Thank you,
Phil MacIntyre
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar