Hello,
I have a user who would like to receive an email every day containing an attachment that will open Laserfiche and show all relevant documents. In short, I want to return invoices that pertain to certain GL codes, as well as not having a certain tag assigned (the tag is applied when these documents get reviewed, and we exclude them from future search results this way).
Code snippet of the .lfe below:
<?xml version="1.0" encoding="utf-8"?> <laserfiche> <repository name="RepositoryName"> <search phrase='{[Accounts Payable]:[GL Codes]="1-750*"} | {[Accounts Payable]:[GL Codes]="1-190*"} | {[Accounts Payable]:[GL Codes]="1-170*"} & ({LF:id > 0} - {LF:Tags="Recorded by John Doe"})' /> </repository> </laserfiche>
My plan was to get this .lfe file created, throw it in Laserfiche somewhere, and attach it to this daily email. However, I must have something wrong here as I get the following error every time I try to open this file
Does anything stand out in the XML that might be causing this? The search syntax appears to be correct - I can paste it into an advanced search and it returns what I'm looking for.
Also very possible I'm overthinking this and there's a very simple way to do what I'm trying to do that doesn't involve this method. The search syntax will never change - it'll be the same search every day, if that changes anything.
Any help is appreciated. Thanks!