A hotfix has been released that will allow Laserfiche WebLink 7 administrators to customize how template search options are displayed in the search window.
This issue is resolved in WebLink 7.0.4 and later. Please upgrade to the latest version of Laserfiche WebLink.
There is a hotfix for WebLink 7.0.3. This hotfix enables Laserfiche WebLink 7 administrators to select which templates are available in the search pane. WebLink 7 can also be configured to display a particular
template for searching by default. You can also disable the list of templates if you wish to prevent users from selecting templates.
If you are using a previous version of WebLink, you must upgrade to WebLink 7.0.3 before applying the hotfix. The hotfix is an updated version of the following files:
- AssemblyInfo.vb (last modified date 9/8/2005)
- Browse.aspx (last modified date 9/7/2005)
- Browse.aspx.vb (last modified date 9/7/2005)
- Connected.vb (last modified date 8/25/2005)
- DocView.aspx (last modified date 8/26/2005)
- DocView.aspx.vb (last modified date 8/26/2005)
- Login.aspx.vb (last modified date 8/30/2005)
- MyWebLink.aspx (last modified date 8/25/2005)
- MyWebLink.aspx.vb (last modified date 8/25/2005)
- Search.aspx (last modified date 9/8/2005)
- Search.aspx.vb (last modified date 9/8/2005)
- WebLinkStyles.css (last modified date 8/30/2005)
- WebLink7.dll (version 7.0.3.2)
- WebLinkControls.dll (version 7.0.3.2).
To update Laserfiche WebLink 7.0.3
- Click here to download a zip file containing the hotfix files.
- Replace the WebLink7.dll and WebLinkControls.dll files in C:\Program Files\Laserfiche\WebLink\Web Files\bin with the ones included in the zip file.
- Replace the AssemblyInfo.vb, Browse.aspx, Browse.aspx.vb, Connected.vb, DocView.aspx, DocView.aspx.vb, Login.aspx.vb, MyWebLink.aspx, MyWebLink.aspx.vb, Search.aspx, Search.aspx.vb
and WebLinkStyles.css files in C:\Program Files\Laserfiche\WebLink\Web Files with the ones included in the zip file.
- Restart the World Wide Web Publishing service.
- Click Start and then click Control Panel.
- Double-click Administrative Tools.
- Double-click Services.
- Scroll down and select World Wide Web Publishing.
- From the Action menu, select All Tasks, and click Restart.
Once the hotfix has been applied, you will need to modify the Search.aspx file to customize the template search display.
To modify Search.aspx to customize the template search display
- Navigate to C:\Program Files\Laserfiche\WebLink\Web Files.
- Use a text editor to open Search.aspx.
- Locate the following element:
weblink:searchform id="TheSearchForm" runat="RunAt" Height="Height" Width="Width"
Note: The values for RunAt, Height and Width may vary depending on your individual settings.
- Modify this element using the new attributes to customize your template display.
- Save Search.aspx.
The following is a list of the new attributes:
- TemplateDisplayed: This value determines the template to be displayed by default whenever the search window is first loaded. If this value is not set, WebLink 7 will display
'No template assigned' by default. It should be formatted in the following manner:
TemplateDisplayed="DefaultTemplate"
where DefaultTemplate is the template you wish to be displayed by default.
- TemplateShowDropDown: This value determines whether users should be allowed to select a template. If it is enabled, users will be able to select a template from the list.
If this value is not set, the template list will not be displayed, and only the default template (if any) will be used. If this value is not configured, WebLink will display the
template list
and allow users to select a template . It should be formatted in the following manner:
TemplateShowDropDownList="Value"
where Value is "True" or "False."
- TemplatesInList: This value determines the templates which are included in the template list. Only those templates in this list can be selected by users through the search
window. If this value is not set, all templates will be displayed in the list. It should be formatted in the following manner:
TemplatesInList="TemplateOne,TemplateTwo,TemplateThree"
where TemplateOne, TemplateTwo, etc. are the templates you wish to be available in the list.
Note: The TemplatesInList attribute does not does function with template names that contain a comma (,).
This hotfix includes another hotfix for WebLink 7.0.3. For more information, please see the following Knowledge Base article:
1011042 FIX: Selected Thumbnails Are Not Highlighted in WebLink 7.