Skip to content

Url filter customization

Christine White edited this page Jun 25, 2013 · 1 revision

As of version 1.2.4 the geoportal server provides the ability to apply a user-defined filter on the URL to your geoportal. The filter can be applied by the user and doesn't need to be defined through the REST API or by the hosting organization; it is applied through the URL, as shown in the example below:

http://gptogc.esri.com/geoportal/catalog/search/search.page?filter=test

In this sample, the word test is a placeholder for any lucene-based query syntax. When the filter is in place, it adds the filter to all the results on the search page. So even though a user may not enter the word "test" in the search field, the filter for the keyword "test" will be applied to all results.

Note: to use, first enter the URL and hit Return. The page must be loaded with the filter in the URL. Or, if you've embedded a link that includes the filter in another webpage, just clicking the link will launch the page with the filter in the URL, but not yet applied to the search. Also, once you navigate away from the Search page, for example, if you apply the filter and then navigate to the Browse page, the filter is no longer applied. If you return to the Search page, the filter URL will not be automatically persisted.

Clone this wiki locally