Tech Tip: WebLink Search Form Designer

WebLink 8 introduces the new WebLink 8 Search Form Designer, which enables you to create customized searches without having to edit any code.

June 1st, 2009 Comment on this article

WebLink 8 introduces the new WebLink 8 Search Form Designer, which enables you to create customized searches without having to edit any code. Once a search form is created, saved, and closed, you will be prompted to add it as a bookmark on the Welcome Page. This gives administrators complete control over how users find and view documents in WebLink 8.

For example, if you want users to only search for Laserfiche product brochures inside the Laserfiche Product Brochures folder, create a custom search form with appropriate constraints and add it as a bookmark to the Welcome Page. In addition, you could use the WebLink 8 Designer to remove all the other elements on this page. When users first visit WebLink 8, the only option they will have is to search for Laserfiche product brochures.

To create a new search form

  1. Open the Laserfiche 8 WebLink Designer.
  2. Select the Welcome Page tab.
  3. Select the Search Forms tab and click Add Search Form.
  4. Name your new search and give it a description.
  • The Toolbox enables you to add elements to your form. For example, to add text, an input field, a line break, and a submit button to the new search form, drag each from the toolbox to the blank workspace.
  • 2009-06-01-toolbox1

  • Selecting an element in the workspace displays its properties in the Properties Pane. Specific properties can be configured for different elements. For example, the input field has to be bound to a search type, field, or custom variable. Note that adding an input field automatically selects the “Any Text” search type for you.

2009-06-01-properties1

There are five tabs at the bottom of the Search Form Designer that provide advanced options:

  • The Search Query tab enables you to define additional search constraints using Laserfiche advanced search syntax.
  • The Sort Options tab enables you to define the items in a Sort Selector element.
  • The Summary tab enables you to create a description of the search results using tokens.
  • The Code View tab provides a read-only view of the XML source code automatically generated by the Search Form Designer, representing the custom search form.
  • The Errors tab lists potential errors and warnings in your custom search form.

Sample Configurations

Search Form Designer after a search has been configured:

2009-06-01-configuredsearchform1

Welcome Page that only contains a link to the custom search form:

2009-06-01-welcomepage1

The custom search form:

2009-06-01-customsearchform2

For more detailed information, see the WebLink Search Form Designer help files.

Tags:

Comment on this article