Customizing WebLink to Open to the Search Page:
Brian Sabin, February 2007
You can customize your WebLink 7 installation to automatically open the Search pane instead of the Browse pane. This is useful for users who access the repository using WebLink and want to locate documents primarily with the Search interface. To open the search pane by default, you need to modify the code in WebLink to change the default start page from Browse.aspx to Search.aspx.
The following instructions use Microsoft Visual Studio 2003. If you use another programming environment to modify the WebLink code, the steps may be different.
First, open the WebLink 7 solution (weblink7.sln). In the Solution Explorer, select Login.aspx. In the View menu, select Code. This opens Login.aspx.vb.
At the top of the Login.aspx.vb file, the following line appears:
- Private Const DefaultURL As String = "Browse.aspx"
Modify this line to read as follows:
- Private Const DefaultURL As String = "Search.aspx"
Then, build the solution to apply the changes to WebLink 7. From the Build menu, select Build Solution.
|