I’m trying out if software will work for our requirements/use-case, but starting out seems this have a very high learning curve. I’m trying to run the document server through Docker but it seems there’s no built-in web-based editor, even the desktop version can’t connect to verify if my instance works fine.
Here’s the command I used:
docker run -i -t -d -p 8080:80 --restart=always -e JWT_ENABLED=false onlyoffice/documentserver
So, I think I’ll just ask here if our Use-Case will work with OnlyOffice.
We need to generate documents(mostly are legal) with pages/parts and data depends on the parameters. Like, aside from the mail-merge-like feature to fill-up some fields, we either remove certain portion or put use different format for that part depends on the combination of multiple parameter. In our current implementation, we create tons of templates, then use the templates that would fit based on the requirement, then fill-up the fields with the provided data. After that, we combine those generated files into a single PDF file for the customer to download.
In our current implementation, we encounter inconsistencies in the output, because people who prepare these templates using different versions of MS Office(we suggest to use LibreOffice but they’re really stubborn in using MS Office). Maybe if we use a web-based document editor and embed it on our web-app(Angular 2+), then use a more reliable document format(which we will enforce), we might be able to produce more consistent documents. Once the templates were created, we’ll just leave it there until we were asked to put some changes, so collaboration won’t be needed.
I’m thinking of using the Mail Merge in the API to generate documents from templates, but I don’t know if it is capable of filling-up the tables with dynamic rows, if not, what are my other options for this? Then export it to PDF. Then combine those PDFs into a single document within the application I’m developing, but maybe OnlyOffice API have this feature that I can take-advantage, but not a big deal.
If these are doable on OnlyOffice, what are the things I need to install and configure? Is Document Server enough for my requirements? We probably don’t need to track who edit the templates for now because there are only few people who prepares these files internally and we can handle the access to the page with our security implementation.