Zum Hauptinhalt gehen

Geometry Picker Layer Does Not Clear in Map After Form is Submitted

Kommentare

9 Kommentare

  • Permanently deleted user

    I just tested this and couldn't replicate the behavior in GVH, but can in Web AppViewer.

     

    Wish I could tell you that I had a solution for you, but I've been unable to get that markup clear. This is a pattern for me though, so hopefully someone else has a solution.

    0
  • Permanently deleted user

    I only have access to the Web AppBuilder widget, so unfortunately can't use a GVH workaround. For what it's worth, we recently migrated our web server to AWS and upgraded to ArcGIS Server 10.51, which is when I noticed this behaviour.

    0
  • Permanently deleted user

    Hi Carl,

     

    I looked into workarounds, but didn't have much luck. You could put a Get Map activity after the first DisplayForm, and then use that result to provide an id for a Clear Graphics Layer activity. Eg.

    =$map1.map.map.graphicsLayerIds[$map1.map.map.graphicsLayerIds.length-1]

     

    That would clear the latest graphics layer, which would typically be the one that the geometry picker created for the highlights. But as soon as you use another Geometry Picker in the workflow, the old graphics will reappear. So I'm not sure this will be useful in the case you described where the workflow may end up redirecting back to the original form.

     

    I'll get the issue into our bug tracker.

    0
  • Frank Martin

    Did this issue ever get resolved?

     

    Thanks,

    Frank

    0
  • Permanently deleted user

    @Frank Martin? The issue got logged as BUG#29306, and it's marked as fixed in Workflow 5.17. It's mentioned in the release notes here https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/release-notes.htm (CTRL + F for 29306)

    0
  • Frank Martin

    Amanda,

     

    Thanks. That's not the behavior I'm seeing. After a geometry point has been selected and submitted the point is still highlighted when the workflow completes. See the images below. Is there something I'm missing in the configuration.? Also, I'm using Workflow 5.19.

     

    Point select:

    selectedPointAfter submit button is selected:

    AfterSubmit 

    The workflow returns to the starting point:

    backTotheBeginning 

    Thanks,

    Frank

    0
  • Frank Martin

    Also, I forgot to mention that I'm running the workflow in Web 5.11.0

    0
  • Permanently deleted user

    Did you ever find a solution?  After the geometry is chosen in my workflow, the graphic needs to go away or it shows up on my exported map and looks weird.  Trying the get map route but so far not doing well.

    1
  • Bobbi Sjogren

    Definitely having this problem.  Looks like my only option is somehow editing the geometry array itself?

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.