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

Question

Question

Calculate Page Count for multiple pdf files

asked on October 8, 2015

I have some PDF files in the folder in Laserfiche Client,my requirement is to get the count of total pages of files in the folder,i used 'find entries' activity in workflow by enabling the page count property in additional properties section,but when i assign the token to retrieve the value, the token value of 'output_entries_pagecount' not shown as token?any other alternate way to find it out?

Can anyone help me with sample workflow?

0 0

Replies

replied on October 8, 2015

I needed to do this a while back and got a tip from another post here on Answers about a workaround, but it's a manual process so I don't know if this would work for you...

Make sure the "Page Count" column is visible when viewing the folder contents (or a search result for the PDFs) and then export the details (File/Export/List Contents) of the columns as a CSV. A quick import into Excel to total the Page Count column gets you the total page count for all the PDFs.

Geoff

2 0
replied on October 8, 2015

The page count refers to image pages. Laserfiche does not have a way of counting pages inside electronic documents. You would need to find a 3rd party library that can access PDFs.

As far as the token goes, Find Entries returns a collection of entries, so you would not get a single token. You would have to either iterate through the collection with For Each Entry, or, if a single entry is desired, use Find Entry instead.

1 0
replied on October 8, 2015

I need to find page count for multiple entries,but i think Laserfiche doesn't have this feature to do that.

Exporting the contents in excel and getting the total from page count column seems manual process but still it helped me to meet the requirement.

 

Thanks for your support guys...

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

Sign in to reply to this post.