Skip to main content

Display results in table

Comments

6 comments

  • Nico Burgerhart

    SwitchToTabularResultsView external command?

    0
  • Permanently deleted user

    Thanks for the reply Nico, but that command is only available for silverlight viewer.

    0
  • Nico Burgerhart

    Change the result mapping for Workflow in Desktop.json.js to ShowResultsTable

     

                "moduleName" : "Results",

     

                "moduleType" : "geocortex.essentialsHtmlViewer.mapping.modules.results.ResultsModule",

     

                "configuration" : { 

     

                    "resultMappings" : { 

     

                        "Identify" : [ "ShowResultsList" ],

     

                        "MapTip" : [ "ShowMapTipResults" ],

     

                        "Workflow" : [ "ShowResultsList" ],

     

                        "Search" : [ "ShowResultsList" ]

     

                    },

     

                    "eventMappings" : { 

     

                        "ResultsListFeatureClickedEvent" : [ "ShowFeatureDetails", "ZoomToFeature", "HighlightFeatureDefault" ],

     

                        "ResultsListFeaturePressedEvent" : [ "ShowFeatureDetails", "ZoomToFeature", "HighlightFeatureDefault" ],

     

                        "ResultsTableFeatureClickedEvent" : [ "ShowMapTip", "ZoomToFeature", "HighlightFeatureDefault" ],

     

                        "ResultsTableFeaturePressedEvent" : [ "ShowMapTip", "ZoomToFeature", "HighlightFeatureDefault" ]

     

                    }

     

                }

     

     
    0
  • Sean McClurkan

    The "ShowResultsTable " RunExternalCommand will work in the HTML5 viewer.  I have a workflow that executes a "SelectFeatures" with a resulting named collection.  I pass the name of the collection to the RunExternalCommand->ShowResultsTable as the Command Argument and it opens the tabular panel at the bottom of the map.  I have a set of Query Tasks running in parallel with all of them selecting features into the same colleciton name and each result set shows up in a spearate tab in the table results.

     

    0
  • Permanently deleted user

    Sean and Nico,

    Thanks for your responses. Nico's suggestion worked for my case. I did not try Sean's, but it sounds like another way to go about it. Good to know.

    Cheers

    0
  • Berend Veldkamp

    @Sean , How exactly do you get the resulting named collection from the SelectFeatures?

    0

Please sign in to leave a comment.