It is possible to perform a search through WebLink by specifying a URL with the appropriate search terms embedded in it. Use the following syntax:
http://hostname/weblink7/search.aspx?dbid=db&searchcommand=query
Hostname represents the web server where WebLink is installed. Db represents the WebLink repository configuration you want to use. And query represents the advanced search syntax you want to use. The following example will find all items with the "General" template where the "Document" field begins with the text "maui."
http://hostname/weblink7/Search.aspx?dbid=db&searchcommand={[General]:[Document]="maui*"}
Please be aware of the following limitations when passing search commands through a URL:
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."
http://HostName/weblink7/Search.aspx?dbid=0&searchcommand={[Customer]:[Phone%23]="5551234"}
You cannot include the strings, "&dbid=" or "&showlogin=" in the search command.
Extra ASPX query strings attached to the URL after the search command will be counted as part of the search command and not as ASPX query strings. This means that the "searchcommand" query should always be the last ASPX query in the URL.