WEBAPPS
Search and Filtering
Searching - Keyword
5 min
how to use the use search parameter in the webapp include tag, along with a keyword parameter in the url, to search for items prerequisites you have created a webapp you have added a webapp list view to a page introduction this is the easiest way to allow users to search for webapp items on the front end you can use a string of words to search all fields in the webapp using or logic, siteglide will return all results where at least one keyword matches in one of the item's fields the number of results will still be limited by pagination if you want to control which fields are searched, see searching advanced filtering steps add the use search parameter to webapp include tag test by adding a url query parameter build a form to allow users to enter a search query step 1 add the use search parameter to webapp include tag {% include 'webapp' id '1' layout 'my layout' per page '10' use search 'true' %} step 2 test by adding a url query parameter since you have added the use search parameter to the liquid, siteglide is now checking the url for the keyword parameter it will use this parameter's value to search all your webapp's fields and return all items where at least one of keyword's words matches at least one word in the webapp's fields with your site open in your browser, add the parameter to the url to test this remember the example keyword is unlikely to be found in your unique webapp, so choose something you know is there! you should see your webapp's results adjust as only items which match are returned https //my website staging oregon platform os com/webapp list?keyword=my%20search%20terms step 3 build a form to allow users to enter a search query you can now build an input form to pass the user's chosen keywords as parameters to the url