Sample Usage

The parameters for an .lfe shortcut can be combined in many ways to achieve different purposes.

For example, you might want to create a shortcut to direct a user to a particular Microsoft Word document whose entry ID is 590, stored in the repository "MyRepository". You might also want to ensure that the user opens it using the native application (Word) rather than the document viewer. You could use the following syntax:

<?xml version='1.0' encoding='Unicode'?>
<laserfiche>
          <repository name='MyRepository'>
                     <entry id='590' mode='2' />
          </repository>
</laserfiche>

Alternately, you might start your day by running a search for all documents with the Approval field set to "Pending."  You could create a shortcut to launch the Client, log you in as your domain account user, and perform the search immediately:

<?xml version='1.0' encoding='Unicode'?>
<laserfiche>
          <repository name='MyRepository' domainauth='y'>
                    <search phrase='{[]:[Approval]=&quot;Pending&quot;}' />
          </repository>
</laserfiche>

You might instead start your day by reviewing all the documents in your personal folder, which has an entry ID of 93. Since you will be working in other folders throughout the day, you want the entire folder tree to display in the folder browser, not just your folder and its subfolders. You could use the following syntax:

<?xml version='1.0' encoding='Unicode'?>
<laserfiche>
          <repository name='MyRepository' domainauth='y'>
                    <entry id='93' makeroot='n' />
          </repository>
</laserfiche>

If you are an administrator, you might want to route documents to users who need to make changes to them, and use a link to point them to the correct document. Since users will be making changes to the document, you want to automatically check out the documents to those users when they open them.  To send an Excel spreadsheet (with entry ID '549') to a user with a link that will both open the spreadsheet in its native application and check it out to them, you could use the following syntax:

<?xml version='1.0' encoding='Unicode'?>
<laserfiche>
          <repository name='MyRepository' domainauth='y'>
                    <entry id='549' mode='2' checkout='y' />
          </repository>
</laserfiche>

At the end of the review period, you could send the user another link that they could click to check their changes back in, automatically setting a version comment and skipping the check-in dialog:

<?xml version='1.0' encoding='Unicode'?>
<laserfiche>
          <repository name='MyRepository' domainauth='y'>
                    <entry id='549' checkin='y' showcheckindialog='n' versioncomment='Reviewed and updated.' />
          </repository>
</laserfiche>