Zum Hauptinhalt gehen

Choose which results-component to display data in

Kommentare

5 Kommentare

  • Frank Martin

    Hi Tor,

    Please let me know if you figure this out.  I was trying to use to the same command to ensure that the results from a workflow were displayed in in a Table View.  I can't figure out what the argument is suppose to be.

    Thanks,

    Frank

    0
  • Tor Røkkum Børset

    Hi Frank

    I used this command: 
        {
            "name": "results.set-display-components",
            "arguments": “results-table”
    }

    The corresponding argument for Results List is “results-list”.


    It kinda worked, but another problem appears if you want to display something in the results-list instead. Then you haveto switch back. And if you have both the Results table and the results list open at the same time, the result will appear in both. So it appears you can only show one set of results at a given time. Instead of beeing able to show one set of results that persists, say for instace to see the content of a feature layer in the table, and one set of results for a query made that should appear in the results list. 

    Smarter people than me have probably solved this, but this is how far I have come. 

    Hope you find a better solution than me. Good luck. 

    Knock em dead
    T

     

    1
  • Frank Martin

    Hi Tor,

    That command works for what I need.  You're right, you have to reset the display component so the next activity (identify, another workflow, etc.), displays the results in the results-list if that's what's needed.

    Thanks so much for your help.  I really appreciate it. 

    Frank

    0
  • Tor Røkkum Børset

    Good to hear that it worked, Frank. 

    I was struggling a while with that one myself. And I am still a bit crestfallen that the documentation still does not have any good examples in them. Fortunately the communities exists. 

    Maybe they should start to link to the communities for examples in the documentation…

    Have a good one, Frank. 
    T

    0
  • Niels Willemot

    How is it possible to reset the display component?

    Because I wan't to use this approach to have two separate result list in my application.
    One ‘decicated’ result list for showing the result of some workflows.
    One ‘general’ result list for showing the results of all other worklfows, identify, …

    0

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