Skip to main content

Refine Results in Table View

Comments

1 comment

  • Permanently deleted user
    Hi Stephanie,

     

    The "Panel Actions" context menu from the results table is for the full results collection, so it will always buffer all of the results.  One solution here would be to configure your viewer to open map tips when you click features in the results table, so that you have a way to use the individual features.  I believe previous versions of the viewer did this as well.
    1. Find the viewer config file you want to edit (eg C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Config\Default\Desktop.json.js)
    2. Make a backup copy and then edit the orginal in a text editor like notepad
    3. Find:  { "name": "ResultsTableFeatureClickedBehavior", "event": "ResultsTableFeatureClickedEvent", "commands": [ "ZoomToFeature" ] }, { "name": "ResultsTableFeaturePressedBehavior", "event": "ResultsTableFeaturePressedEvent", "commands": [ "ZoomToFeature" ] },
    4. Add the ShowMapTip command to the commands list like this:  { "name": "ResultsTableFeatureClickedBehavior", "event": "ResultsTableFeatureClickedEvent", "commands": [ "ZoomToFeature", "ShowMapTip" ] }, { "name": "ResultsTableFeaturePressedBehavior", "event": "ResultsTableFeaturePressedEvent", "commands": [ "ZoomToFeature", "ShowMapTip" ] },
    5. Save the file and test the results table
    Then you can click a table result, open the feature details from the map tip, and do the buffering from there.  You could even create a buffering link right on the map tip to save users a couple of steps:
    1. Go to Manager > Viewers > Edit Viewer > Context Menus > Map Tip Actions
    2. Click Add Menu Item
    3. Use the following configuration:  Text: Buffer Command: IdentifyBufferedFeature Command Parameter: {{context}}
    4. Apply Changes and Save Site

     

    Hope that helps!

     

    -Amanda
    0

Please sign in to leave a comment.