Display results in table
Hi,
Anyone know how to show results in the tabular view rather than list view, and switch to the bottom container? For html5 viewer?
My workflow is pretty simple. Basically, like this: query activity > selectfeatures activity > externalcommand activity. I'm using the external command "ShowResultTable", but it does not display results in tabular form, nor does it open the bottom region.
Thanks
-
SwitchToTabularResultsView external command?
0 -
Thanks for the reply Nico, but that command is only available for silverlight viewer.
0 -
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 -
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 -
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 -
@Sean , How exactly do you get the resulting named collection from the SelectFeatures?
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare