Show data links above feature details
Is there a way to re-order the results pane contents so data links show above the feature details list? HTML5 2.6
0
-
I too am looking for this. Or to hide the "Details" all together in the compact results view. 0 -
I've got what your describing working in one of my sites, Jeff. Of course I can't remember how I did it. I want to do it for another site but comparing the viewer config files hasn't revealed the change I made in the first file. I think I used some advice given in this thread:
https://support.geocortex.com/EssentialsGSCForum?sub-nav=forum&main-nav=Essentials&#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=90660000000XaX8AAK
When I compare my viewer config files, the ResultsListFeatureClickedEvent sections are identical thus the confusion over the different behaviours! Maybe it's in a different section of the code. Entirely possible.
If you figure this out, please let me know. If I figure it out, I'll post the solution here.0 -
Agreed Rebecca! I've been to that thread and tried the suggestion of removing the "ShowFeatureDetails" to no avail. 0 -
Hi Rebecca,
The specific provider you are looking for is "viewId": "FeatureDataLinksProviderView". If you perform a search for that in your configuration.json file, you will be able to move it amongst the other providers to re-order it. You will have to move the whole json object that hosts that provider, which looks like:{ "type": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.DataLinksViewModel", "viewId": "FeatureDataLinksProviderView", "viewType": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.DataLinksView", "iconUri": "Resources/Images/Icons/Toolbar/details-24.png", "markup": "Mapping/modules/FeatureDetails/FeatureDetailsProviders/DataLinksView.html", "title": "@language-feature-datalinks", "config": { "dataLinkDetailsView": "ResultsViewContainerRegion" } }
Due to this being the last item in the list, there is no comma (,) at the end of the json object. If you move it before another object, make sure to add a comma. You should be able to re-organize all of your providers here.
Let me know if you have any questions,
Cory Purnell
Latitude Geographics Quality Assurance Team0 -
Hi Jeff,
I took a look at your issue as well and found the provider you were looking to change. You want to search for "viewId": "FeatureAttributesProviderView" within your configuration json file. Within the json object hosting the FeatureAttributesProviderView, you are going to want to add the attribute "enabled": false.
It will look something like this:{ "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", "enabled": false },That should completely disable the provider from showing up in the modified shell.
Let me know if you have any questions,
Cory Purnell
Latitude Geographics Quality Assurance Team0 -
Reordering the providers in GVH 2.5.2 didn't work. Is this only for GVH 2.6 and higher? 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare