In-browser integration of Nuxeo Platform and ONLYOFFICE.
ONLYOFFICE Document Server (Run a Docker image)
Build with maven (at least 3.3)
mvn clean install
Package built here:
nuxeo-onlyoffice-package/target
Install with
nuxeoctl mp-install <package>
The nuxeo.url
property must be the fully qualified URL for your nuxeo instance, such as https://my.nuxeo.org/nuxeo
Editor properties:
# URL to editor api.js service (required)
onlyoffice.url.api=http://onlyoffice/web-apps/apps/api/documents/api.js
# Create version on save (optional, default: false)
onlyoffice.version.save=true|false
Conversion properties (Optional):
# URL to conversion service (see ONLYOFFICE docs)
onlyoffice.url.conversion=http://onlyoffice/ConvertService.ashx
# Number of millisecond to wait between polling async request
onlyoffice.conversion.wait=1000
(!) When using Docker, use an accessible hostname for the IP URLs.
Invoke the conversion service to transform between a variety of content types. By default, the office2pdf contribution will support PDF as a destination type. See the ONLYOFFICE Conversion API for a full conversion matrix.
Key | Description | Allowable Values |
---|---|---|
async | Async Processing | true, false |
srcType | Source Type | allowable type |
destType | Dest Type | allowable type |
codePage | Code Page | code page ref |
delimiter | Delimiter | delimiter ref |
thumbnail | Thumbnail | true, false, (height):(width):(aspect) |
<extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService" point="renditionDefinitions">
<renditionDefinition name="onlyoffice">
<label>label.rendition.onlyofficepdf</label>
<icon>/icons/note.gif</icon>
<contentType>application/pdf</contentType>
<operationChain>onlyofficePdf</operationChain>
<storeByDefault>false</storeByDefault>
</renditionDefinition>
</extension>
<extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="chains">
<chain id="onlyofficePdf">
<operation id="Context.PopBlob"/>
<operation id="Blob.RunConverter">
<param name="converter" type="string">office2pdf</param>
<param name="parameters" type="properties">async=false</param>
</operation>
</chain>
</extension>
These features are not part of the Nuxeo Production platform.
These solutions are provided for inspiration and we encourage customers to use them as code samples and learning resources.
This is a moving project (no API maintenance, no deprecation process, etc.) If any of these solutions are found to be useful for the Nuxeo Platform in general, they will be integrated directly into platform, not maintained here.
Nuxeo Platform is an open source Content Services platform, written in Java. Data can be stored in both SQL & NoSQL databases.
The development of the Nuxeo Platform is mostly done by Nuxeo employees with an open development model.
The source code, documentation, roadmap, issue tracker, testing, benchmarks are all public.
Typically, Nuxeo users build different types of information management solutions for document management, case management, and digital asset management, use cases. It uses schema-flexible metadata & content models that allows content to be repurposed to fulfill future use cases.
More information is available at www.nuxeo.com.