Aller au contenu principal

How to bypass Results List and open Results Details directly?

Commentaires

5 commentaires

  • Chris Dunlop

    As a follow up:

    The query uses $layer1.layer as the input layer.  It returns geometry and all the attributes.  I replaced the Show Results activity (which looks like it just works with the Results List and Results Summary components) with a Custom Command (using results.display-details for the command name, and =$query.features as the command parameter).  When I run it, it opens the feature details component, and it shows the correct number of features.  However, they are all blank… 

    0
  • Gareth Evans

    Hey Chris Dunlop 
    I believe what you are hitting is a need for VertiGIS features as an input, as that is what the VSW Results components need. You need a results.from-graphics and to use that as the input for your results.display-details

    The syntax for that results.from-graphics would be, using a Run Operation:

    • inputs of results.from-graphics 
    • and parameter something like ={ graphics: $query1.features }

    I threw a quick example here: https://apps.vertigisstudio.com/workflow/designer/#workflow=4e6aa111590c4aac84e78672e9a37942

    I also created a quick knowledge base article to cover this: How to Query a Layer and Display Results Using results.display-* Commands in VertiGIS Studio Workflow for VertiGIS Studio Web where you can download the workflow example to import, incase you do not have SaaS access. 

     

    1
  • Chris Dunlop

    Thanks Gareth!  That worked great.  I'd never have figured that out in a million years :-)  

    Chris

    0
  • Gareth Evans

    You are super welcome, Chris! This has prompted me to suggest some internal documentation improvements. If you were stumped, others probably are too.

    0
  • Andreas Broothaerts

    In case that the results of a spatial query are in layers that are not visible, how can they still be shown in the map? I now highlight my featureset but if I do that the labels for the features are gone. How can I show all the features and have the labels present although the layers are not set visible? 

    0

Vous devez vous connecter pour laisser un commentaire.