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

Question

Question

Retain electronic file (TIFF) components when importing

asked on February 9, 2018

When importing electronic documents (TIFF) into Laserfiche, I need to 'Generate Laserfiche Pages' but ALSO retain the electronic file components.  

The problem is when I add TIFF to the list below, the Pages are generated just fine, but no electronic file properties.  

As you can see here, Electronic Document Properties are empty because the Laserfiche pages were generated.  

However, if I remove TIFF from the File Conversion and import the file the electronic document properties

How can I accomplish both?

Thanks,

Nate

0 0

Replies

replied on February 9, 2018

Why do you need the tiff to be duplicated as the edoc as well as the image pages? The page generated from the tiff is just another copy of the tiff.

0 0
replied on February 9, 2018

Robert,

I need this because we're using the GetElecDoc method to retrieve the images via our Web-based Transportation Management System (TMS).  When pages are generated, there is no E-doc information so this method fails. 

Thanks,

Nate

0 0
replied on February 9, 2018

Use the following code to get the tiff from the page:

DocumentInfo doc = Document.GetDocumentInfo(docId, session);
Laserfiche.DocumentServices.DocumentExporter docExp = new DocumentServices.DocumentExporter();
docExp.PageFormat = DocumentServices.DocumentPageFormat.Tiff;
docExp.ExportPage(doc, 1, @"c:\path\to\export.tif");

You can also export as a stream.

0 0
replied on February 9, 2018

Thank you for this Robert.  I am not 100% sure what you mean to get the tiff from the page?  You're saying our web application should use the above code to retrieve the TIFF file from Laserfiche?  Or is this code to export the file within Laserfiche to a TIFF?  

Nate

0 0
replied on February 9, 2018

If your tiff is stored as the LF page of the document (not the electronic file portion), this code will export the tiff for your web application to present to the user.

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

Sign in to reply to this post.