You are viewing limited content. For full access, please sign in.

Question

Question

Weblink Remove General Search Search Terms

asked on August 16, 2022

Is there anyway to remove General Search Search Terms in Weblink or have it default to Template instead?

custom search.png
0 0

Answer

SELECTED ANSWER
replied on August 17, 2022

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.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.