Adding Platform-Specific Native DLL to Creatio (Cloud Deployment)

Hi all,

I’m working on a PDF processing feature that requires the use of PdfiumViewer.dll along -with the platform-specific native library pdfium.dll.

In my local Creatio environment, I was able to make it work by manually placing the x64 version of pdfium.dll in the bin folder of the installation. 

However, I haven’t found a way to add this kind of native DLL through the Creatio UI to have it available in the Cloud environment of the client.

Could you advise on the proper way to include a native platform-specific DLL like pdfium.dll in a cloud-deployed Creatio instance?

Is there any way to include that in the package?

 

Thanks!

Like 1

Like

3 comments

One way is to use the Import option in your package: 

Other options, add to Files\bin in an assembly package (and add reference to csproj file), see https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/packages/assembly-package

Ryan

Also need to make sure that any dependencies and trust level will work with cloud hosted systems.

Hi Ryan,

I usually add referenced assemblies using the import option you mentioned there, but thats not working for platform-specific assembies or native assemblies (the ones that need to know if its x64 or x86).

trying to load that type of assembies is showing an error message: 

Will check with assembly package if that works. Thanks!

 

Show all comments