how to use Sdk Script in Workflow to Export document from LF repo to a network drive?
Question
Question
how to use Sdk Script to Export document from LF repo to a network drive?
Answer
From "C:\Program Files\Common Files\Laserfiche\Client Helper" I normally copy "Laserfiche.DocumentServices.dll" into "C:\Program Files\Laserfiche\Laserfiche Workflow 10.4\DocumentServices\11.0.0.0" and "Laserfiche.RepositoryAccess.dll" into "C:\Program Files\Laserfiche\Laserfiche Workflow 10.4\RepositoryAccess\11.0.0.0" (note that if RepositoryAccess is already there and the same version, you do not need to replace it). Then I browse to add the references to the 2 DLLs now in the Workflow folder, but you will need to make sure that browsing is enabled, the path is allowed, and the DLL is allowed.
Please note that your workflow may be installed in a different path, and the path should match where your workflow is installed.
Replies
You can find an example of a SDK script that exports to Windows in https://answers.laserfiche.com/questions/148898/Workflow-to-Export-Document-to-Windows-Folder
Thank you for this sample script. I am so close to finishing up my WF but then I ran into this warning "the following libraries do not match the Laserfiche.Repository.Access reference. "Script1 : RAScriptClass110" and our Laserfiche Repository Access is 11.1.2212.409. Do we need to update our WF to match our LF Repo Access?