hide instant search
Hello All:
how do I hide the Instant Search from in the HTML Viewer?
Thanks for you help:
0
-
Not sure what you mean. You set it at the Service level - there is a tab for Instant Search when you edit the service, where you can check to enable. 0 -
I'm assuming when you say instant search, you are referring to the global search at the top of the page?
If so, in the Desktop.json.js and Tablet.json.js file, search for the moduleName : Banner. From there, remove the following section of code including the comma at the end:{ "id": "SearchView", "viewModelId": "SearchViewModel", "visible": true, "title": "@language-search-title", "iconUri": "Resources/Images/Icons/Toolbar/search-32.png", "markup": "Mapping/modules/Search/SearchView.html", "type": "geocortex.essentialsHtmlViewer.mapping.modules.search.SearchView", "region": "BannerContentRegion", "configuration": {} },This will remove the entire global search from both of those viewers.
In the Handheld.json.js, search for "id":"SearchView" and remove the following:{ "id": "SearchView", "viewModelId": "SearchViewModel", "visible": true, "isManaged": false, "title": "@language-search-title", "iconUri": "Resources/Images/Icons/Toolbar/search-results-24.png", "markup": "Mapping/modules/Search/SearchView.html", "type": "geocortex.essentialsHtmlViewer.mapping.modules.search.SearchView", "region": "HeaderRegion", "configuration": {} },
I hope this is what you were asking about.
Marshall0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer