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

Question

Question

Check file type from repository

asked on September 13, 2017

Good afternoon,

I'm working on a workflow that retrieves files from a Repository. What I found out is that you can't have more than one file with the same name, even if it's a different file type. For example, if I upload "file1.doc" and then I upload "file1.pdf", file1.pdf becomes "file1(2).pdf" in the repository; which makes me think that file types are not being taken into consideration when uploading to repository.

I'm fine with this, as long as I can search a certain file type using the Search Repository Activity. However, I see that you can set "Type="D"} to get documents, but can't find a way to get only documents with certain file extensions. Is this possible? 

 

Thank you,

 

Raul Gonzalez

0 0

Replies

replied on September 13, 2017 Show version history

Thanks Tri,

I was following this tutorial here and it seems that it also helped me getting things resolved: https://answers.laserfiche.com/questions/57805/SDK-file-extensions-through-workflow

I'll try your recommendation as well to see which one best fits our needs.

Thanks again Tri.

1 0
replied on September 13, 2017

Hi Raul, 

I believe you want the search syntax: {LF:Ext="___"}, from the Type search type under Advanced Search.

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

Sign in to reply to this post.