Closed sukeshlaghate closed 4 years ago
The widget is not working for me when I add this into the catalog config_geoportalsearch.json { "url": "http://localhost:8080/geoportal/rest/metadata/search", "name": "GP", "gptversion":2 } Any help is appreciated...
@dawitkk You have to change https://github.com/Esri/geoportal-server-catalog/blob/master/geoportal/src/main/webapp/viewer/widgets/GeoportalSearch/views/SearchPane.js
and
then it will work like a charm
@Devesh Kumar Thank you so much!
@dawitkk You have to change https://github.com/Esri/geoportal-server-catalog/blob/master/geoportal/src/main/webapp/viewer/widgets/GeoportalSearch/views/SearchPane.js
and
then it will work like a charm
What exactly do you need to change to make this work?
@DeveshScientist Thank you sir!
@rmuellerjr replace old with these two files
Gottcha. Thanks
Hi I am using geoportal 2.5.1 with elastic search 5.6.4. I configured geoportalsearch widget for mapviewer by providing following in config.json
restarting geoportal and the geoportalsearch widget starts to list my local geoportal in the catalog dropdown. Following are the issues that I am facing
When providing keywords it does not return any results. The same search when performed from search tab shows result with "addtomap" enabled. clicking the link adds the map in the map viewer
when keywords field is kept empty and search is performed; It fetches and displays results with foot print however the result does not show "addtomap" link.
refer to attached screen shots
Can anyone please help me in resolving the issue?