How To Change the Default Search Type in the PaperVision ASP.NET Application from Or to And.

Description


It is possible to change the default search type for the ASP.NET application by making a simple change in the javascript source code.

 

Summary


  1. On the application server find the PVEWebjavascript directory and open pveProjectSearch.js in Notepad.
  2. Click EditàFind and type in lastSearch.SEARCHTYPE = "Or"; and click Find Next. Make the following changes to the line:From:lastSearch.SEARCHTYPE = "Or";

     

    To:

    lastSearch.SEARCHTYPE = "And";

     

  3. Save the file. Note: If you are unable to save the file, you may need to right-click on the file and select Properties and uncheck Read-only in the Attributes section and click OK before it will allow you save.
  4. Start a new browser session and delete the existing cookie (if applicable). The search type will now default to “Andbut will still retain the user’s last search type if cookies are supported and enabled by the browser.

 

 

Filed under PaperVision® Enterprise, R69, R69.1, R70, R70.1, R71, R71.1, R74, R74.4, R74.5, R75, R75.3, R76, R77, R78, R79, R79.2, R80, R81, R82, R82.4

Last modified Dec 31, 2009

Submitted Dec 31, 2009

Related Articles

Share via Email Print