Tech Tip: Using Saved Searches with Laserfiche Mobile
Laserfiche Mobile is an application for the iPad and iPhone that enables you to capture, upload, securely access and work with documents inside your Laserfiche repository while on the go. Laserfiche Mobile’s Search Pane allows you to search based on document text, entry names and fields.
If you perform specific searches frequently, you may want to save them so they can be quickly performed later. While you cannot save searches in Laserfiche Mobile, you can achieve the same result by creating an HTML file with embedded search parameters and then placing it in the repository used by Laserfiche Mobile. In addition, this method of saving searches enables users to perform searches from Laserfiche Mobile that are not possible from the Search Pane.
To make a saved search available in Laserfiche Mobile
1. Create a new text document and open it.
2. Paste the following text into the document:
<!DOCTYPE HTML PUBLIC “-//W3C-//DTD HTML 4.0 Transitional//EN”>
<html>
<head>
<title>Saved Search</title>
<meta http-equiv=”REFRESH” content=”0;url=lfmobile://servername/Laserfiche8/index.aspx? db=repositoryname#search=searchterms;view=search,imageenable=true”><HEAD>
<BODY>
Searching…
</BODY>
</HTML>
3. Replace servername with the name of your server, repositoryname with the name of your repository, and searchterms with the search syntax of the search you want to save.
- To easily find the search syntax for your search, perform the search in Web Access and then click the Advanced Search Syntax button in the Search Pane.
- Make sure you adjust the search syntax to be compatible with URLs. For example, {LF:modified=”9-4-2012″} has several characters, like braces, that are not always compatible with URLs. Correctly encoded, the search syntax looks like this: %7BLF:modified=%229-4-2012%22%7D.
4. Save the document as an HTML file.
5. Import the document to your repository. When the document is opened, the search will be performed.