Using the command line parameters and the search string. How can you get the document to open if there is only 1 search result?
In the .LFE shortcut I can programme
<?xml version='1.0' encoding='Unicode'?> <laserfiche> <repository name='repo' domainauth='y'> <search phrase='{[Sales Orders]:[Order Number]="11122233"}' /> </repository> </laserfiche>
This returns the single file (there will only ever be one).
In the lf.exe shortcut I have tried
"C:\Program Files\Laserfiche\Client\LF.exe" -W -L"repo" -S"{[Sales Orders]:[Order Number]="11122233"}"
Again this does the same search but doesn't open the document.
How can you add a command in that will automatically open the document if there is only 1 search result?
It does open the document if you use the entry ID, however this information is going to be passed from another system and will match what is in a LF field which will always be a unique value.
Thanks!