Primo VE Search Widgets

Primo VE can be added to websites through a simple html form and short bit of JavaScript. More information can be found at Primo VE Customization - Best Practices.

Example 2: Course Reserves

HTML

To modify the code for a Course Reserves widget, we do the following:

  • Insert the host_name: mnpals-mct.primo.exlibrisgroup.com
  • Insert the inst_code:view_code: 01MNPALS_MCT:MCT
  • Insert the tab_code: CourseReserves
  • Insert the scope_name: CourseReserves
<form id="simple" name="searchForm" method="get" target="_self" action="https://mnpals-mct.primo.exlibrisgroup.com/discovery/search" enctype="application/x-www-form-urlencoded; charset=utf-8" onsubmit="searchPrimo()">
     <!-- Customizable Parameters -->
     <input type="hidden" name="vid" value="01MNPALS_MCT:MCT">
     <input type="hidden" name="tab" value="CourseReserves">
     <input type="hidden" name="search_scope" value="CourseReserves">
     <input type="hidden" name="mode" value="basic">
     <!-- Fixed parameters -->
     <input type="hidden" name="displayMode" value="full">
     <input type="hidden" name="bulkSize" value="10">
     <input type="hidden" name="highlight" value="true">
     <input type="hidden" name="dum" value="true">
     <input type="hidden" name="query" id="primoQuery">
     <input type="hidden" name="displayField" value="all">
     <!-- Enable this if "Expand My Results" is enabled by default in Views Wizard -->
     <input type="hidden" name="pcAvailabiltyMode" value="true">
     <input type="text" id="primoQueryTemp" value="" size="35">
     <!-- Search Button -->
     <input id="go" title="Search" onclick="searchPrimo()" type="button" value="Search" alt="Search">
</form>
            

Course Reserves

Try searching for "math"