Remove DETAIL heading when DETAIL section is empty
In the results panal, the DETAIL section displays the field information. In some cases, I have moved the field info to the DESCRIPTION section and make the fields not visible. In this case there is a heading of DETAIL with no details. Just like the HYPERLINK section, if there is nothing in that section, do NOT show the heading.
0
-
Hi Lee,
As a workaround for this in the meantime, you can go into the Desktop.json.js file (the file path should look something like this: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\<SiteName>\Viewers\<ViewerName>\VirtualDirectory\Resources\Config\Default\Desktop.json.js)
and look for this section of code:{ "type": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttributesViewModel", "viewId": "FeatureAttributesProviderView", "viewType": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttributesView", "iconUri": "Resources/Images/Icons/Toolbar/details-24.png", "markup": "Mapping/modules/FeatureDetails/FeatureDetailsProviders/MultiColumnAttributesView.html", "title": "@language-feature-attributes" },
The easiest would be to search for "@language-feature-attributes" because that only shows up once in this file. Of course, make a copy of this file before editing it but once you find this section, remove it entirely from the file and save. Then you can reload the viewer and the "Details" section will no longer be there in the Feature Details Pane.
I hope this helps.
Carmen0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar