Zum Hauptinhalt gehen

Open feature details at end of selection workflow

Kommentare

10 Kommentare

  • Martin Slimin
    I would also like an answer to this, i wish do select a feature and display its feature details from a workflow in an HTML5 2.4.1 viewer, any help would be appreciated.
    0
  • Permanently deleted user
    This is what I have been using.  you have to fill in feature description part in GHV

     

    User-added image
    0
  • John Nerge

     

    I added ShowFeatureDetails to the end of my workflow, but one of three things happens when i run it:

     

    1. I get an error that says, "There was a workflow error running activity: Cannot read property 'get' of undefined."

     

    2. The feature details view opens, but it's blank

     

    3. The feature details view opens correctly (never happened the first time)
    0
  • Andrew Flynn
    Were you able to resolve this issue? I am seeing something similar and can't find a fix. Thanks!
    0
  • John Nerge
    I just tried Yinghong's method of running an external command to use ShowFeatureDetails with the collection name as the parameter, and it worked!

     

    I don't remember if it worked before, but it's working in GE 4.6 and the GVH 2.7
    0
  • I was using Yinghong's method but without declaring a variable to store collection's name, just tipying a string directly and i didn't work. It's fine using a variable!

     

    Ciao
    0
  • Permanently deleted user
    can someone share how they are getting this to work? I see the screen capture that Yinghong shared BUT its no longer available. Any help would be great
    0
  • John Nerge
    Here's a screenshot. Basically you run your typical Query Task and Select Features, except you define the Collection Name in your Select Features and then use that as a command parameter to run the ShowFeatureDetails command. The If statement I'm using is just making sure that only one result was returned before I try to open feature details since it wouldn't make sense to try to open them for multiple features.
    0
  • Permanently deleted user
    John this was awesome, works perfectly.. very much appreciated
    0
  • John Nerge
    Nice trick as always Nico, thanks!
    0

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