Enabling the Download Electronic File Icon In the Folder Browser Window and the Search Results Window.

September 19, 2006 | KB: 1011280
WebLink 7.0.5

Summary

In WebLink 7.0.4, the folder browser window and the search results window displayed a "Download Electronic File" icon next to electronic documents. Clicking the icon would prompt you to download the electronic file associated with the electronic document.

In WebLink 7.0.5, this feature is disabled by default since the "My WebLink" page now allows you to configure how you want to open electronic documents.

More Information

You can re-enable the WebLink 7.0.4 behavior in WebLink 7.0.5 by adding the "ShowDownloadEdocButton" property to the "DocumentBrowser" element on the Browse.aspx page and the "SearchResultsBrowser" element on the Search.aspx page.

Note: Before modifying your WebLink ASPX pages, make sure you understand how to restore them if a problem occurs.

To modify the folder browser window to display the Download Electronic File icon

  1. Using a text editor, open Browse.aspx, which is located in the "Web Files" subfolder of your WebLink 7.0.5 installation folder.
  2. Scroll down and locate the following line:

    <weblink:documentbrowser id="TheDocumentBrowser" runat="server" Height="100%" width="100%" MaxLength="9" OpenFoldersInPlace="False">

  3. Add the "ShowDownloadEdocButton" property and set it to "True." After your modification, the line should look similar to the following:

    <weblink:documentbrowser id="TheDocumentBrowser" runat="server" Height="100%" width="100%" MaxLength="9" OpenFoldersInPlace="False" ShowDownloadEdocButton="True">

  4. Save your changes to Browse.aspx.

To modify the search results window to display the Download Electronic File icon

  1. Using a text editor, open Search.aspx, which is located in the "Web Files" subfolder of your WebLink 7.0.5 installation folder.
  2. Scroll down and locate the following line:

    <weblink:searchresultsbrowser class="SearchResultsContent" id="TheSearchResultsBrowser" runat="server" width="100%">

  3. Add the "ShowDownloadEdocButton" property and set it to "True." After your modification, the line should look similar to the following:

    <weblink:searchresultsbrowser class="SearchResultsContent" id="TheSearchResultsBrowser" runat="server" width="100%" ShowDownloadEdocButton="True">

  4. Save your changes to Search.aspx.