Feature Details Compact View
Hi,
I would like to know if it is possible to disable the default FeatureDetailsCompactView so the result list doesn't show up in the sidebar.
Thanks
-
Hi Badradine,
If you would like for the feature details to automatically open in the expanded feature details view rather than compact, you can change the "defaultViewMode" to be "expanded" in configuration json (Example: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\<site_name>\Viewers\<viewer_name>\VirtualDirectory\Resources\Config\Default\Desktop.json.js for your Desktop configuration).
The json you are looking for should be similar to this:
"moduleName": "FeatureDetails",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsModule",
"configuration": {
"defaultViewMode": "expanded",
"viewModes": {
"compact": {
"viewId": "FeatureDetailsCompactView",
"defaultProviderTargetRegion": "FeatureDetailsCompactViewRegion"
},
"expanded": {
"viewId": "FeatureDetailsExpandedView",
"defaultProviderTargetRegion": "FeatureDetailsBottomRegion"
}
}
Here you can choose to set the "defaultViewMode" to either compact (as it is by default) or expanded.
Hopefully this was helpful, let me know if you have any further questions or if this didn't solve the problem
Cory Purnell
Latitude Quality Assurance Team0 -
Hi Cory,
Thank you for your quick response! In fact, we would like to disable the FeatureDetailsCompactView without replacing it with the expanded one. The search tools that we added display the results in a new panel and we end up with two result panels. An example of what we want is the LA County property assessment web site http://maps.assessor.lacounty.gov/GVH_2_2/Index.html?configBase=http://maps.assessor.lacounty.gov/Geocortex/Essentials/REST/sites/PAIS/viewers/PAIS_hv/virtualdirectory/Resources/Config/Default whith only one result panel.
Thank you again.
0 -
Hi Cory. I too want to set the default view mode to expanded, so I tried your configuration. Unfortunately it gets overwritten with "compact" every time you save the site in Manager, so this solution isn't really practical. Can you please add it to the fix-list for the HTML5 viewer.
Thanks!
Chris0 -
I know I must be missing it here somewhere, but +1 for "disable the FeatureDetailsCompactView without replacing it with the expanded one. " Anyone? 0 -
+1, can anyone post the LA json file? 0 -
Hi Patrick,
The Desktop.json file can be obtained from Fiddler when loading the site above. It's too large to post here.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare