Constructing a WebLink URL that Links to a Document or Folder.

October 8, 2007 | KB: 1001086
WebLink 7

Summary

You can specify a WebLink URL that links to a document or folder.

More Information

You can construct a URL that directly links to WebLink to perform the following:

  • Directly open a specific document
  • Directly open a specific folder
  • Directly download an electronic document
  • Directly download a specific document as a PDF
  • Performing a search

To directly open a specific document

  • http://hostname/weblink7/docview.aspx?dbid=db&id=y

To directly open a document to a specific page

  • http://hostname/weblink7/DocView.aspx?dbid=db&id=y&page=z

To directly open a specific folder

  • http://hostname/weblink7/Browse.aspx?dbid=db&startid=y

To directly download an electronic document

  • http://hostname/weblink7/ElectronicFile.aspx?dbid=db&docid=y
  • http://hostname/weblink7/docview.aspx?dbid=db&id=y&openfile="true"

To directly download a specific document as a PDF

  • http://hostname/weblink7/docview.aspx?dbid=db&id=y&openpdf="true"
  • Note: The openpdf parameter will be ignored if your repository is configured to require an export reason.

To perform a search

  • http://hostname/weblink7/search.aspx?dbid=db&searchcommand=SearchSyntax

Hostname is the name of the web server hosting WebLink. The value db specifies the dbid value of the WebLink repository configuration you want to use. The value y specifies the ID of the desired document or folder. The value SearchSyntax represents the search syntax of your desired search.

Note: You can view the dbid for a repository configuration by loading the Laserfiche WebLink 7 Administrator's Utility.

Note: You can view the ID number for a document or folder by configuring the WebLink contents pane to display the ID column.

Note: If WebLink has not been configured to use a repository configuration, then log in information is not provided in the URL. As a result, the Login page will prompt the user for this information. The desired document will be displayed after the user logs in to the repository.

If a user is currently logged in to WebLink, then the user will not be prompted for log in information if you use the same Internet Explorer instance. However, if you use a different Internet Explorer instance, then the user will need to log in to the repository.

Note: You cannot include special characters (e.g. #) in the search command without encoding the special characters. If your advanced search syntax contains special characters, encode the special characters by replacing the character with the percent sign (%) followed by the hexadecimal value associated with that special character. For example, the pound sign (#) has an associated hexadecimal value of 23. The following example will find all items with the "Customer" template where the "Phone#" field is "5551234."