Hoppa till huvudinnehållet

Find near me

Kommentarer

40 kommentarer

  • Permanently deleted user
    We also have a workflow that is searching for facilities based on an address. It works great, but the buffer remains after the workflow is completed and the results list is closed. Is there a way to remove the buffer without having to doube click it and delete the drawing?
    0
  • John Nerge
    Couple of ideas, neither of them ideal:

     

    1) add an External Delay to your workflow at the end and follow it up with deleting the buffer markup (would take care of it, but could confuse your users when the buffer seemingly suddenly disappears)

     

    2) update your viewer config to remove markups or whatever you're using when the results list closes (maybe could have it run a workflow to target the buffer instead, but I've never done that before in a viewer config)
    0
  • Denise Beckham
    Hello John, I actually just figured out how to do this yesterday! In the viewer config, I found "moduleName": "Results".

     

    When I scrolled down to behaviors, I found the following: { "name": "ResultsViewClosedBehavior", "event": "ResultsViewClosedEvent", "commands": [] }, I then modified it as follows: { "name": "ResultsViewClosedBehavior", "event": "ResultsViewClosedEvent", "commands": [ "ClearMarkupQuiet", "ClearTemporaryMarkup" ] }, It now clears both the buffer and the selected parcel (temporary markup) that was buffered when the results list is closed.
    0
  • Permanently deleted user
    As an add-on to this subject, I just saw a YouTube video titled "Running Geocortex Essentials workflows from an identify operation" that could be used to let user click on a location, and then that would kick off your workflow...
    0
  • James Brink
    So, is there a way to add the DISTANCE that was found (in above workflow) to the actual results list instead of the alert?

     

    I would like to show it in the Feature Description Feature Label to the right of the {Name}, Distance {DISTANCE}

     

    Powell Levi Park - Distance 1.03 Miles

     

    Street - 7222 Martingale Dr.

     

    Park Class - Community

     

    Owner - County
    0
  • Tom Neer
    You can override the the Feature Description with the SelectFeatures activity in Workflow. Under Properties, you can change the Label, Description, and Long Description format and pass in the distance variable where you want.
    0
  • James Brink
    Tom

     

    Thanks. That Worked.

     

    Assigned an item.Attributes for the Park name and the Distance and then used that assigned item in the Select Features Activity in the Label Format property.
    0
  • Christopher Wiebke
    Tom,  How is the invoke method ("AddDistanceField") using the "fldDistance" variable in your workflow?  Thanks, Chris.
    0
  • Tom Neer
    The variable fldDistance is a field definition. The invoke method appends the field "DISTANCE" to the fsSearchFeatures featureset so we have somewhere to store the values from the DistanceTask. You can find where we apply fldDistance by selecting the AddDistanceField module then check under Properties > Parameters.
    0
  • Christopher Wiebke
    Thank you.  It looked like the parameters box was blank.  Did not see that you had to click on it.
    0

Du måste logga in om du vill lämna en kommentar.