Skip to main content

Refresh Results after Update Features Activity

Comments

6 comments

  • Amanda Frech

    I'd suggest trying re-selecting the updated features using the Show Results activity. 

    If you specifically want the results to appear in the "Result Details" component rather than "Results List" though, a command like results.display-new-details does make sense.  You'd just have to use Run Operation with results.from-graphics first in order to convert the updated results to a type that the results.display-new-details command's parameter accepts. 

    Example: If Update Features uses =$query1.features , then

    -Run Operation runs results.from-graphics on ={graphics:$query1.results}

    -Run Command runs results.display-new-details on =$runOperation1.result

    0
  • Markus Schenardi

    this is not working in my case. 

    Is there another way to update the result details after updating a feature?

     


     the second operation is even not known:

     

    0
  • Amanda Frech

    From the screenshots, I see 2 adjustments to make:

    • The “Operation Parameter” input needs an “=” character at the start, to make sure the value is read as an expression instead of as a plain string
    • The second “Run Operation” activity should be a “Run Command” activity instead.  The Run Operation activity only recognizes operations, and “results.display-new-details” is a command.
    0
  • Markus Schenardi

    thanks Amanda Frech . Chaning the second part to “run command” makes it running (the = was not missing, only cut on the screenshot).

    But the result is now, that the detail view becomes empty (which is better then showing wrong results). But I want to have a new identify. I tried tasks.identify with the result from the udpateFeature activity but this did not work. 

     

    0
  • Sindre Sellæg

    Hi,
    In order to get this to work I did the following:
     

     

    Best regards,
    Sindre

    0
  • Markus Schenardi

    Thanks Sindre Sellæg 
    Finally I made it running. The highlights.add-focus is not needed (in my case).

    But it needs a new query after update Features (because update features does not deliver any attributes nor the geometry). 

     

    0

Please sign in to leave a comment.