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

Question

Question

Laserfiche Scanning SDK

SDK
asked on February 24, 2021

Hello, 

Is it possible to open up LF Scanning via the SDK without assigning and Document or Metadata?

0 0

Answer

SELECTED ANSWER
replied on February 25, 2021

You can use the ClientAutomation library to launch scanning by providing the folder to scan into. This presentation has sample code, see the LaunchScanningSample method in Dev 201 Sample Code\Dev201\Dev201.cs. Can you clarify what you are you trying to accomplish?

1 0
replied on February 25, 2021

Hey Robert!


Thanks for the reply. I took a look at the Powerpoint and the code but don't see anything for launching the Scanning Software, probably need to dig into that CAT Documentation. 

What I'm trying to accomplish is just launching Laserfiche Scanner without specifying an Entry ID to work with. The reason being is that once LF Scanning is open I'm using some other code to populate the Metadata fields so that they can do a batch scan and just split the documents as needed. 

 

If I launch laserfiche scanning with entry id information, if they split documents it all ends up getting merged into a single document when they store it. 

So pretty much just need them to be able to Launch Scanning with minimal to no information. Ideally if i could specify the path where the document will be scanned to and the template to be used that would be awesome, BUT at this point if i can just get it to Launch with no parameters or options that would suffice. 

0 0
replied on February 26, 2021

Take a look at the code sample Robbie mentioned above. It's not in the PowerPoint, it's in the attached code samples.

1 0
replied on February 26, 2021 Show version history

Oh wow! Thanks Robbie and Miruna, 

 

I somehow completely missed the BOLD section he highlighted and went straight to the PowerPoint. It totally makes sense now and this is exactly what I was looking for. 

 

Thanks again to the both of you! 

0 0

Replies

You are not allowed to reply in this post.
replied on February 26, 2021
        void LaunchScanningSample()
        {
            MainWindow mainWindow = LaunchClientSample2();

            ScanOptions options = new ScanOptions();
            options.EntryId = 81;
            options.IsDocument = true;
            options.ScanMode = ScanMode.Basic;
            mainWindow.LaunchScanningFromClient(options);
        }

This still looks like it requires an Entry ID though, I'd like to launch with just a path specified. 

You are not allowed to follow up in this post.

Sign in to reply to this post.