Including additional .dll’s

Optiva scripts are built with a default list of external .dll’s that are made available to the scripts. You can expand this list to include new .dll’s.

Optiva already supports third party applications like EPPlus.dll and PdfSharp.dll. You can use EPPlus.dll with Optiva scripts to export tables and as a reporting option. You can use PdfSharp.dll to merge multiple PDF files into one. To learn more about coding with these applications, search for EPPlus or PDFSharp on the web.

In the Web.Config file, which is located in the FsSvcCore directory, there are two entries in the appSettings section:


<add key="systemReferences" 
value="System.dll;System.Data.dll;System.Xml.dll;System.Core.dll;

System.Xml.Linq.dll;System.Web.dll" />
<add key="customReferences" 
value="bin\FsSrvAppCore.dll;bin\FsSrvCore.dll;bin\FsSysUtil.dll" />

You can add references to the Microsoft .Net components in the systemReferences value. You can also add references to any other .dll’s in the customReferences value.

After you add these references to the Web.Config file, these .dll’s are added as references to the Optiva scripts. You can reference them in any of the Optiva scripts.