Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Robert Chanphakeo
10
Views
1
Comments
[Html2PdfConverter] Created mechanism to dynamically upgrade the binaries.
Question
Forge
Html2PdfConverter (O11)
Forge asset by
Guilherme Pereira
Created mechanism to dynamically upgrade the binaries.
@
Guilherme Pereira
Good work with this feature!
Pedro Gonçalves
Staff
Yeah, great work Guilherme.
Just a heads-up, I was caught on surprise :)
If you're using a farm architecture
(e.g. multiple frontend servers) especially if only some servers are set to execute timers, this approach will not work:
the first frontend to run the InitBinaries timer gets the binaries but all other servers won't so the files won't be copied onto their local folder;
The entity {Executable} has a [FilePath] attribute whose value depends on the server that loaded the binaries from the administration page (for filepath value it gets the eSpace folder signature of that server), so the path will also be wrong when trying to print a PDF.
Any ideas to improve this?
For a quick workaround, uploading the necessary .exe and .dll files as Resources (although quite big ~50MB) and setting up a site property to enable this option, works pretty well.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...