You are viewing limited content. For full access, please sign in.

Question

Question

Unrecognized character was encountered - Search Repository doesn't like underscores?

asked on October 21, 2015

I am working on a project where I will be loading a few thousand documents into Laserfiche, in batches. I want to make sure that I don't accidentally load any duplicates in this process.

 

I have a batch process set up with workflows, where I pull information from the file name to populate the metadata, and then rename the document to our standard naming convention. Then what I want to do is Search Repository for that file name, and if I find it, move that document to a delete queue and do not file it.

 

However, when I test my Search Query with my output name, I get that an unrecognized character was encountered. After some fuzzy searches and trial and error, it seems that it is getting hung up on an underscore, which is a big component of our file names. How do I get around this?

0 0

Replies

replied on October 21, 2015

Could you paste the search string in here?

0 0
replied on October 21, 2015

That was my problem. Sorry, I just tried to delete this. I really need to look into stuff more before I start posting. wink

I did not have the correct syntax for my search. I just pulled in the Renamed Entry in the token dialog, and it didn't like it.

I just changed it to this and it seems to like it.

({LF:Basic~="%(RenameEntry_OutputEntry_Name)", option="LTN"}) & {LF:LOOKIN="CSAC-EIA\01 Member Files"}

0 0
replied on October 21, 2015

No worries. Was it missing double quotes around the entry name?

0 0
replied on October 21, 2015

No, I didn't have any of the correct syntax at all. I just grabbed the token RenameEntry_OutputEntry_Name, no brackets, no LF:Basic~=, none of that.

 

Then I tested the search and I entered a valid file name (Santa Barbara_EWC_Coverage Documents_2013_2014) and received the error.  I tried again leaving off all of the file name except the entity name "Santa Barbara" and it found documents for me.

 

Then I figured I would want to look in a certain folder so I am not looking at the documents I am currently trying to load. I usually just use the Advanced Search syntax from the Laserfiche Client and throw that into my Search Repository query. I threw the file name into that syntax and it works perfectly.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.