Is there anyway to remove General Search Search Terms in Weblink or have it default to Template instead?
Question
Question
Weblink Remove General Search Search Terms
Answer
Wesley,
While this may not be the preferred way of doing it, you can achieve this by editing the "main.94b26ec7460836c56a5b.js" file which is usually located at "Program Files\Laserfiche\WebLink\WebLink\Web Files\app\dist\search\" folder. Make sure you backup this file before editing!
Once you have this file open in a text editor, located the following statement and change the "GeneralSearch" value to "Template". Once you have changed it, save the file and refresh the page.
this.searchArray=new Set(["GeneralSearch"])
It's very important that you understand that any updates to WebLink in the future will probably result in this change being removed and you will need to do this again (as long as the file is the same). Also, make sure you open this file up in a text editor as any reformatting of the code will render the file unusable.