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

Question

Question

search for file names with no extension

asked on March 6, 2017 Show version history

Hi, 

 

Is there a way we can search a repository for filename that contains no extensions? All files should be with extensions and we now need to search documents in the repository that do no contain the extensions on it and rename them using a workflow. 

 

Any suggestions? 

 

Thank you

Ziad

0 0

Answer

SELECTED ANSWER
replied on March 7, 2017

Hi Ziad

This works assuming you have not used periods in your documents names other than those that have a file extension on them.

Make a Query in laserfiche to find all documents in your required Location for *.* (this basically will find all files that have a period in them)

Copy the Syntax and past it into your Search Query in LF Workflow, and change the NAME="*.*" to NAME<>*.* such as below.

{LF:Name<>"*.*", Type="D"} & {LF:LOOKIN="laserrepository\TestFolder"}

This should then identify in a query any document name that does not have a period in the name which is those files that do not have an extension (as all files with an extension would have a period in them)

1 0

Replies

replied on March 7, 2017

I believe that is exactly what i was after, thank you Steve,

 

Regards

Ziad

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

Sign in to reply to this post.