Hi guys, i am about to do some scripting in the laserfiche workflow, as of now i need use Microsoft.office.Core and Microsoft.Office.Interop.Word.but unfortunately both of them not in the workflow reference list. how do i add in a custom one?
thanks
Hi guys, i am about to do some scripting in the laserfiche workflow, as of now i need use Microsoft.office.Core and Microsoft.Office.Interop.Word.but unfortunately both of them not in the workflow reference list. how do i add in a custom one?
thanks
Aaron's instructions should get the reference added to your Workflow script activity, but it's unlikely your script will work because Microsoft doesn't support Office automation in a service context (like Workflow). Office applications assume there is a user present to interact with the UI, and there may be problems loading properly due to the lack of a user profile.
The supported way of creating and modifying Office documents is to use the Open XML SDK.
Hi Jeff,
You will need to enable file browsing and then add the .dll to workflow via the Workflow Admin Console. Reference in admin guide here.
This LF answers posts may also help you as well. C# Script not loading external references
Regards,
Aaron
Hi Aaron,
Thanks for the reply. for the dll i need to use, i need to download separately? or it can be found in my system?
regards,
Jeff
Hi Jeff,
If the assembly is not within the available selection, then yes you would need to download the file. As Miruna said, it might be best to use the Open XML sdk.
Regards,
Aaron
I downloaded the dll and manually add into the reference list. thanks alot guys.