|
|
OPTIMAL SYSTEMS beschreibt [unter help.optimal-systems.com](https://help.optimal-systems.com/enaio/v910/admin/coLab/de/01_installation/cl_tsk_onlyoffice.htm) die Integration mit enaio® coLab ab Version 9.10. Der Embedded Office-Microservice kann wie dort beschrieben in der `colab-prod.yml` hinterlegt werden.
|
|
|
|
|
|
Danach ist es möglich, Dokumente direkt aus coLab zu bearbeiten, sofern diese Rechte dem Anwender in coLab erteilt wurden. Die Datenübernahme steht hier nicht zur Verfügung.
|
|
|
|
|
|
![Beispiel Titel](/images/coLab.png)
|
|
|
|
|
|
## Konfiguration
|
|
|
|
|
|
### colab-prod.yml
|
|
|
|
|
|
* `onlyoffice.interaction.host` - URL zum Embedded Office Microservice aus Sicht des coLab Microservices
|
|
|
* `onlyoffice.interaction.path` - Schema des Aufrufs. In diesem Beispiel wird Embedded Office im Bearbeitungsmodus geöffnet. Wenn der Benutzer in coLab oder enaio keine Schreibrechte hat, so wird automatisch nur der maximal erlaube Modus geöffnet.
|
|
|
|
|
|
```yml
|
|
|
onlyoffice:
|
|
|
integration:
|
|
|
active: true
|
|
|
host: http://localhost:9343
|
|
|
path: /desktop/edit/edit/{ObjectTypeId}/{ObjectId}?toolbar=false
|
|
|
mimeTypes:
|
|
|
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
|
|
- application/vnd.ms-excel
|
|
|
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
|
|
- application/vnd.ms-powerpoint
|
|
|
- application/msword
|
|
|
- application/vnd.openxmlformats-officedocument.presentationml.presentation
|
|
|
```
|
|
|
|
|
|
### application-cloud.yml
|
|
|
|
|
|
Im Bereich von `zuul` muss eine weitere Route zum embedded office Microservice hinterlegt werden.
|
|
|
|
|
|
```yml
|
|
|
zuul:
|
|
|
routes:
|
|
|
...
|
|
|
onlyoffice:
|
|
|
stripPrefix: true
|
|
|
path: /onlyoffice/**
|
|
|
url: ${onlyoffice.integration.host}
|
|
|
sensitiveHeaders: Authorization,X-Onlyoffice-Colab-Provider,X-Onlyoffice-Colab-Provider-Id,X-Onlyoffice-Colab-Display-Name,X-Onlyoffice-Colab-Display-E-Mail
|
|
|
```
|
|
|
|
|
|
Nach jeder Anpassung dieser Konfiguratonen muss der Microservice `colab` per [Admin-Console](http://localhost:7273) des Service-Managers neugestartet werden. |
|
|
\ No newline at end of file |