Multiple Systems, One Document Service: Integrating ONLYOFFICE Without Building Five Editors

2026-11-23

ONLYOFFICE integration · document middleware · DMS · OOXML · embedded editing · document API · permission control · audit trail · private deployment

Book a Demo

Direct answer: The question is rarely "do we need an online editor". It is that every business system asks for one, and the company ends up with several editors, several file copies, several rendering results, several permission checks and several log sets. ONLYOFFICE solves one of those problems very well: opening a document, editing it, and keeping the layout intact. It does not answer where the file lives, who is allowed to change it, who changed it, or whether you can take it back. The workable answer is to layer the stack: one editing engine, one source of file identity, one permission model, one audit chain, and one API contract for every system to call. That is the role of a document middleware. It is not a better editor; it is editing turned into a shared service.

Scope note: ONLYOFFICE is an independent open-source product. Its licensing, deployment model and integration interfaces are defined by its own documentation, and this article does not cover versions, pricing or license terms. The layering described here is a general architecture pattern; implementations vary by vendor, so interface inventories, concurrency limits and format coverage should be confirmed against official documentation and your own testing. Statements about Filez Document Middleware are based on its product materials, and specific capabilities and deployment options are subject to a solution assessment.

1. The real problem is not an editor. It is every system wanting its own.

In a mid-sized or large organization, document needs are spread across systems that rarely agree on requirements:

  • OA needs to display official documents, edit body text and preserve templates.
  • Contract management needs multiple negotiation rounds on the same file, tracked changes, and a clean final version.
  • ERP and finance need to preview attached invoices, export reports and generate documents in batches.
  • Records management needs long-term retention, reliable rendering years later, and proof that nothing was altered.
  • CRM and project tools need proposals and deliverables they can share externally, with control over who sees them.

The default move is to wire an editor into each system. It looks solved in the short term, and creates four classes of cost in the long term:

  • Copies multiply: one contract exists in OA, in the contract system, and in someone's downloads folder. Nobody can say which is authoritative.
  • Rendering diverges: two editors handle the same .docx differently, which produces the familiar "it looked fine on my machine".
  • Permissions fragment: a person is authorized in OA and again in the contract system, and no one can prove the second grant was justified.
  • Logs cannot be joined: five systems keep five logs, and reconstructing one incident requires manual stitching.

These costs are not merely spend. They mean that every audit, every dispute and every handover requires rebuilding the facts from scratch. The design question is therefore not which editor to buy, but how to build these capabilities once.

2. What ONLYOFFICE delivers, and what it does not

ONLYOFFICE is clear about its own scope, and that scope is genuinely valuable: it provides a self-hostable online editing service that renders and edits OOXML files (docx, xlsx, pptx) with high fidelity, keeping styling, formulas and charts largely intact, and it exposes integration interfaces that a business application can embed. For "open the file, change it, and have it look like desktop Office", it is a credible answer, which is why so many systems choose it.

Placed inside an enterprise architecture, its boundaries become visible:

Question Can the editor answer it? Who must answer it
Where does this document live, and which copy is authoritative? No. It opens a file it is given. Storage and file identity layer
Who may view, edit or save a copy? No. Authorization belongs to the calling application. Unified permission and identity layer
What changed, by whom, and when? Track changes exist inside a session, but they do not join across systems or versions. Audit and traceability layer
Where does the edited file get written back? No. The calling application implements the write-back. Business system plus a shared API contract
Can a shared document be delivered externally and revoked? No. Outbound delivery is outside its scope. Controlled distribution layer

In one sentence: an editor answers "can this be changed", not "should it be changed, and whose version wins afterwards". Treating it as the whole solution is how projects stall at the first audit question.

3. Unifying document capability means unifying five things

What to unify What it looks like when unified What happens if you do not
Editing engine One online editing service, called by all systems, on one instance or one cluster The same file renders differently by system, and users keep reporting broken layouts
Storage and file identity One file, one ID; every system references it instead of storing a copy Copies evolve independently, and nobody dares call any of them the master
Permission and identity One account directory, permissions granted by role and by file, reused everywhere The same person can view in two systems, and nobody verified whether that is appropriate
Audit and traceability Open, edit, download and outbound events recorded on one chain, searchable by person or file During an incident you query five systems and still cannot say who took what
API contract Every system integrates against the same interfaces; a new system adds no new design work Each new system triggers a fresh integration project, with compounding schedule and risk

The fifth item is the one most often skipped. The first four are capabilities you can buy; the fifth is a convention you must define yourself. Without a shared contract, the first four start to deform by the third integration.

4. Where document middleware sits once you layer the stack

Layered, the picture has three tiers: business systems on top, document middleware in the middle, storage and editing engine underneath. The business system does not need to know which directory holds the file, nor implement editing itself. It only needs to state which business object it is working on, which file belongs to that object, on whose behalf, and what actions are permitted.

That is exactly the definition of a document middleware (DMS): it exposes content capabilities to business systems through APIs. Its typical use cases are integration with systems such as OA and ERP, and building industry applications on top of that base. Put differently, it is not a site employees log into; it is a layer systems call. That single test tells you whether a product is middleware: its primary users are developers and business systems, not end users.

Grouped by capability, three layers are useful for integration design, because they make clear what the business system must participate in and what can be fully delegated:

Layer Capabilities What it solves
Creation Real-time co-editing, version history, file locking, comments and mentions, online printing and archive extraction No more seventeen versions circulating by email; one file, many contributors
Governance Fine-grained permissions, electronic watermarking, audit trails, content protection, ciphertext-level redaction Content circulates inside a controlled boundary, and leaks can be traced
Intelligence Semantic search, AI question answering over a knowledge base, automated classification, AI document comparison, and the document middleware itself Content moves from stored to actually used, and knowledge becomes reusable

The practical point: ONLYOFFICE sits mostly in the creation layer, and only in the editing part of it. Governance and intelligence are not things an editor can supply; they need the middleware and the business side. So "we integrated ONLYOFFICE, therefore we have a document middleware" is a common misreading: you have covered half of one layer, while governance and audit remain open.

5. Four integration patterns, each solving a different segment

Unified document capability does not mean every system uses the same method. In practice four patterns coexist, and the point is to converge all of them onto one underlying service.

Pattern How it is used The core problem it solves
Embedded preview Click to view inside the business system; no download, no edit entry point, watermarks available A quick look no longer means obtaining a copy
Embedded editing Edit inside the business system page, save back to the corresponding business object Editing happens where the file lives, not after a download and re-upload
Capability API Format conversion, watermarking, comparison, text extraction, PDF or OFD generation Processing actions become services any system can call
Back-office batch Bulk conversion, bulk watermarking, bulk archiving, bulk validation Existing archives are handled, not just new files

The common rule: the file never leaves the middleware, and the action completes inside it. As soon as a pattern becomes "the business system downloads the file, processes it locally and uploads it back", unification is nominal, because at that moment a new copy exists.

6. Five traps that catch almost every integration

1. File identity is left undefined, and a URL is used instead

The most common shortcut is to hand the editor a file URL. It works, until each edit and each additional system produces another physical file, and a single business object ends up mapped to eight versions. Define a file ID and a version number first, let every system reference the same file by ID, and treat the URL as a short-lived credential for retrieval, nothing more.

2. Authorization is checked twice, and inconsistently

The business system decides that this person may view, and the editor decides that this link is valid. Two checks, one loosened and the boundary leaks. The harder problem is that an editing link is usually a one-time credential; forward it and the recipient can open the document. Authorize on the server only, issue editing sessions per person, short-lived and non-reusable, and keep business authorization out of the editor entirely.

3. Save behavior is never specified, so work disappears

There are two save models: continuous autosave during editing, and an explicit commit by the user. With autosave alone, people believe they submitted when they did not. With commit alone, a dropped connection or a crash loses the work. Define three things: the autosave interval, the commit trigger, and what happens on conflict. The third is the one usually missed: when two people edit the same file, the later commit silently overwrites the earlier one.

4. Concurrency is sized on headcount, and the system stalls at launch

An editing session holds resources for its duration. The load is not driven by how many accounts exist but by how many people edit at the same moment. Size for peak concurrency, not total employees. Adding up departmental peaks gets closer to reality than taking a percentage of headcount, and the difference shows up on the last days of a quarter, when everyone prepares reports at once.

5. Format coverage is tested for "it opens", not for "it looks the same"

OOXML fidelity does not guarantee identical layout. Missing fonts, section breaks, headers and footers, tables crossing pages and field codes all shift the result between environments. Test with your own real documents, especially official correspondence, contracts and financial reports, rather than opening a few sample files once and calling it done.

7. Should you build the shared layer? Three questions decide it

You do not have to start with a full middleware. Answer three questions first:

  1. How many more systems will need document capability in the next twelve months? If this is the only one, wiring an editor locally is cheaper. If three or four are queued, the cost of a shared layer amortizes quickly.
  2. Does the same file get edited from two systems? A contract edited in the contract system and again during OA approval is enough to make unified file identity mandatory, or the copies will diverge.
  3. Does audit or regulation require a complete record by person and by file? If so, a unified audit layer is not optional. Per-system logs cannot be joined after the fact.

Two yeses make the investment reasonable. One yes suggests partial convergence first, for example unifying preview and storage while leaving editing as it is.

Cost item Fragmented integration One shared layer
Each new system Storage, permission and write-back redesigned each time; no reusable work Integration follows an existing contract; most effort sits in the business system
Operations and upgrades Multiple instances upgraded separately, versions drift apart One upgrade path, interface versions managed centrally
Audit and evidence Logs collected system by system and stitched by hand, with gaps One queryable chain, exportable by person or file
Storage cost The same file stored repeatedly; capacity grows with system count One file referenced many times; growth stays predictable

8. Where Filez Document Middleware fits

Filez Document Middleware (DMS) can be described in one line: it exposes document content capabilities to business systems through APIs, with OA and ERP integration and industry application building as its typical use cases. Mapped onto the three layers above, its job is to expose creation, governance and intelligence capabilities as a consistent interface, rather than to build another destination site for employees.

For organizations that already run ONLYOFFICE or a comparable engine, this layer still adds value: the engine solves "can it be edited", while the middleware answers where the file lives, who may change it, what changed, where it is written back, and how it can be evidenced. The two are not substitutes but stages in a drivetrain: the engine is the motor, the middleware is the transmission. Running the motor alone is possible, and welding your own transmission is too; both simply cost more.

In relation to existing systems, it typically works alongside Filez Enterprise Cloud Drive: the drive serves day-to-day collaboration, where people find files and files find people, while the middleware serves integration, where systems call capabilities. Both reference the same file base, which avoids a two-track arrangement where one repository serves people and another serves systems. It supports private deployment and adapts to domestic IT ecosystems; the specific interface inventory, concurrency specifications and deployment options are subject to a solution assessment.

Book a Demo

9. Frequently asked questions

Frequently asked questions

1. ONLYOFFICE is open source and self-hostable. Why add a document middleware?

Self-hosting is entirely viable, provided you are willing to own everything around the editor: file identity and versioning, cross-system authorization, audit log aggregation, write-back and conflict handling, bulk conversion and archiving. None of that comes with the editor; it has to be built and maintained. A middleware packages work that has already been done many times into a service, so the team spends its effort on the business rather than on rebuilding document infrastructure. For a small estate with few systems, self-hosting is usually cheaper; for many systems and strict audit requirements, reuse usually wins.

2. Our OA already has online editing built in. Do we still need a separate layer?

It depends on whether OA is the only entry point. If every document is created and circulated inside OA, the built-in capability is enough. Once any of these signals appear, a lower capability layer starts to pay for itself: contracts, records or ERP must open the same files; the same file is edited from two systems; audit requires a single record of who viewed what and when. Two of the three usually mean the OA layer will not hold.

3. Would a middleware duplicate our existing enterprise drive?

The users differ. A drive is built for people: where files are kept, how they are found, how teams collaborate. A middleware is built for systems: how an application calls document capabilities. Deployed together, they should share one file base, meaning the file stored in the drive is the same file the middleware serves, not a separate copy. The test for duplication is simple: do both sides point to the same file ID. If yes, they cooperate; if not, you have built two tracks.

10. Summary

An editing engine such as ONLYOFFICE answers whether a document can genuinely be edited in a browser, and whether the layout survives. Five years ago that was the hard problem. It is now table stakes, and the hard problem has moved above it: how several business systems share one set of files, one permission model and one audit chain.

So change the question at selection time. Instead of asking which editor has the best compatibility, ask whether the fifth system can be connected without redesigning everything. If it can, you have a middleware. If it cannot, you have installed one more editor.

This article is a technical and architectural overview. It is not procurement advice, a deployment plan or legal advice. Features, licensing and deployment of third-party products are governed by their own documentation; data compliance questions should be reviewed by legal counsel and qualified advisers.

About Filez

Filez is Lenovo's collaboration brand, focused on intelligent collaboration across files, content and knowledge, with products spanning enterprise cloud drive, online documents and an unstructured data platform. The enterprise cloud drive was launched in 2006 and is the earliest-developed and longest-running product of its kind in China; online documents were first launched domestically in 2017.

After nearly two decades in the market, Filez's standing continues to be recognized by authoritative institutions. Internationally, it was selected for Gartner's Magic Quadrant for Document Management, the only vendor from East Asia in that report. Domestically, in IDC's China Intelligent Enterprise Content and Knowledge Platform Market Share, 1H26, Filez ranked first in the private deployment segment.


目录大纲