The choices in the “Select type of search” field are the default names of the various searches in Primo VE and will autopopulate the tab= and search scope= fields on the form and will work without changes for most institutions.
If you have renamed your “type of search” or are using other “search scopes”, you will need to manually enter the correct name or search scope in the respective field. You can find this information by doing your selected type of search in Primo and looking at the URL, such as this URL:
If your institution is using more than one Primo view, you will need to change the view code in the area that appears after clicking “Construct”. You can find this information by doing a search in Primo and looking at the URL, such as this URL:
<script type="text/javascript"> function searchPrimo(formId) { var searchInput = document.getElementById(formId).elements["primoQueryTemp"]; var searchString = searchInput.value.replace(/[,]/g, " "); if (searchString && searchString.length > 0) { document.getElementById(formId).elements["primoQuery"].value = "any,contains," + searchString; } else { document.getElementById(formId).elements["primoQuery"].value = ""; } } </script> <form id="searchForm" name="searchForm" method="get" target="_blank" action="primoUrl" enctype="application/x-www-form-urlencoded; charset=utf-8" onsubmit="searchPrimo('searchForm')"> beginform <input type="hidden" name="vid" id="vid" value=""> <input type="hidden" name="tab" id="tab" value=""> <input type="hidden" name="search_scope" id="search_scope" value=""> <input type="hidden" name="lang" id="lang" value="en"> <input type="hidden" name="pcAvailability" id="pcAvailability" value="false"> <!-- Fixed parameters --> <input type="hidden" name="query" id="primoQuery"> <input type="text" id="primoQueryTemp" value="" size="35"> <!-- Search Button --> <input id="go" title="Search" type="submit" value="Search" alt="Search"> endform </form>