A Web Office is an application in SWITCHdrive which enables you to create and edit standard Microsoft Office documents (Word, Excel and PowerPoint) inside a browser window, without requiring any software from a locally installed Office application to be executed.

With the web office application of SWITCHdrive, you can now open and edit office files in a browers on any computer which is connected to the internet. The Web Office application runs completely on SWITCH data centers located in Switzerland. There is no office code executed outside of these data centers and no data whatsoever is shared or made available to any party outside of SWITCH.

SWITCH selected OnlyOffice as the application for providing the Web Office integration to SWITCHdrive. OnlyOffice has a clean user interface, excellent compatibiltiy with Standard Microsoft Office documents and powerful collaboration tools.

With OnlyOffice in SWITCHdrive you can create and edit text documents (docx), spreadsheets (xlsx) and presentations (pptx) all within SWITCHdrive. When you open an office document in a browser using the SWITCHdrive web client, you can work collaboratively on the same document in real time with others, while all can see the changes to the document. By editing Office documents in a browser you can effectively avoid version conflicts that commonly occur when working independently with local documents and synchronising them after saving the document and closing the office application.

Use the SWITCHdrive web client and go to the directory where you want to create a new office document. Click the Plus-icon at the top to display the pop up menu. Note that you can not only upload a file, create a new folder or a new text file, but you can now also create a document, a spreadsheet and a presentation.

ScrShot3240

Choosing one of these 3 menu options will open the so called OnlyOffice online editor which allows you to create an office document directly in the web browser.

This online editor keeps all the formating details and provides a very high compatiblitly to the original Microsoft office document. You can also print the document or save it in a different format (for example PDF, TXT, RTF, HTML, ODT, ODS, ODP or CSV).

Yes, simply move the files into your switchdrive folder and open them via the SWITCHdrive web client.

If you open the files locally in the FileExplorer or in the Finder, then the corresponding office application will be launched, which is in most cases Microsoft Office (Word, Excel, Powerpoint).

Please note that co-editing is not available when the files are opened locally. However all the editing will be synchronised to the other clients when you save or close the document again.

First, you need to share the file (or the parenting folder containing the document) with edit permission to your collaborators. We strongly recommend to share the document by direct link so you can always see who is actually editing the document (otherwise you would see "Anonymous" as the collaborator's name).

For example, if you want to co-edit the document "Agenda.doc" inside the folder "Project D", share the file (or the entire folder "Project D") with edit permission to your collaborators. Just click on the share icon and enter the names of the collaborators. Edit permission is already set by default when you share a file this way.

Screenshot 2019-10-16 at 09.55.12

Second, you need to inform your collaborators to open the document in a browser -  not in their local office application! This can easily be done by sending an email to your collaborators which contains a link that opens the document in OnlyOffice right away. To get this link, open the document in your web-client and copy the address line of your browser to your clipboard:
Screenshot 2019-10-16 at 10.32.58

Write an email to your collaborators and paste this link in it, for example:  
"Dear collaborators, please click on this link to edit the document in your web-browser."

Actually you do not need to add the file path to the document, but if you do the link is still working fine and OnlyOffice opens the correct document.

You can also share and co-edit a file with users who do not have a SWITCHdrive account. You only need to create a public link to the folder which contains the document. Please keep in mind that when you use public links to share your document, OnlyOffice cannot detect who is actually editing or changing your document and displays "Anonymous" or "remote user" as the name of the collaborating person. For example there were two different persons (1) and (2) who edited the Word document, but OnlyOffice can only refernce them as "remote user":RemoteUsers

Allowing anonymous persons to collaborate on your documents could lead to unwanted edits or even loss of edits. Use public links only if you fully trust the persons who receive the public link to sincerely collaborate on your shared document.

First you need to create a public link with edit permission to the folder that contains the document. Locate the folder and click on the sharing icon (1). In the Sharing section on the right, click on Public Links (2) and then on the button "Create public link" (3).

PublicLinkIn the popup dialog box, you can name the public link (1) which is useful if you create more public links for different users or with different permissions. Make sure that you have selected the "Download / View / Edit" permission for this folder and click on the "Share" button at the bottom of the dialog box.

 PublicLink2

The public link will show up with its name in the section "Public Links". Click on the first icon behind the public link name to copy the link to the clipboard. 

PublicLink3Paste this link to a new browser window to check how users who have no switchdrive account can access this folder, for example 

https://drive.switch.ch/index.php/s/tgZxtReKjuq1BKx

To create a link that opens the document in a Browser window, double click on the document to open it in OnlyOffice. Then copy the web-address from the browser window and send it to your users, for example: 

https://drive.switch.ch/index.php/apps/onlyoffice/s/tgZxtReKjuq1BKx?fileId=3339025820

This link not only contains the public link address (tgZxtReKjuq1BKx), but also the file-ID (3339025820) of the document. So you only need to share this link with your collaborators and ask them to edit your document.

Note:
If you create a public link of the parenting folder with only download & view permission, users can also view the document but cannot edit it. However they can see the live changes of the document whenever they refresh the browser window, see for example:

https://drive.switch.ch/index.php/apps/onlyoffice/s/z6T79tVHZMFjZ6f?fileId=3339025820

Note also that users must not add this file to their SWITCHdrive account in case they have an own SWITCHdrive account. As soon as a user is adding a public folder to his or her switchdrive account, OnlyOffice can not detect any more that the same file is opened by different users.

In order to edit a document you need to have upload & edit permission to the file or to the parenting folder of the file.

If they do not have the correct permisison, a rather unprecise "File not found" in red is displayed. Please ask the owner of the document to give you the required edit permission.

Maybe you have only received a private link to the document from the owner of the file, for example  https://drive.switch.ch/index.php/f/1263899011 

You can try and replace "/f/" by "/apps/onlyoffice/". If the owner of the file has shared the folder with you then OnlyOffice will open the document in a browser window.

Document Editor is an online application that lets you review and edit documents directly in a web browser window. Using Document Editor, you can perform various editing operations like in any desktop editor, print the edited documents keeping all the formatting details or download them to your computer hard disk drive as DOCX, PDF, TXT, ODT, RTF, or HTML files.

For detailed help please follow this link to the ONLYOFFICE support page for Document Editor.

Spreadsheet Editor is an online application that lets you edit your spreadsheets directly in a web browser window. Using Spreadsheet Editor, you can perform various editing operations like in any desktop editor, print the edited spreadsheets keeping all the formatting details or download them to your computer hard disk drive as XLSX, ODS, CSV, or PDF file.

For detailed help please follow this link to the ONLYOFFICE support page for Spreadsheet Editor.

Presentation Editor is an online application that lets you review and edit presentations directly in a web browser window. Using Presentation Editor, you can perform various editing operations like in any desktop editor, print the edited presentations keeping all the formatting details or download them to your computer hard disk drive as PPTX, PPSX, PDF, or ODP files.

For detailed help please follow this link to the ONLYOFFICE support page for Presentation Editor.

Go to the File-Menu (1) and select Save (2), or just close your web-browser and your document is saved.

Save-onlyoffice

Please note that OnlyOffice permanently saves the document in the background. If you have a long edit session it is recommended to click on the document icon (3) to download a backup copy to your download folder - just to be on the safe side. See here why this is important to avoid data loss.

Because all your edits are permanently saved, there is no Cancel button to ignore all your edits to a document. If you want to undo all your edits close your web-browser (and hereby save the document). Then go to the versions tab of your document and restore a previous version.

Caution: Please be aware that when you save the document or exit the edit session, other users could still continue to edit the document. Only if all web-browser sessions are closed the final version of the document is saved. To see how many editing sessions are still open check the online user icon in the top right corner of your browser window.

ScrShot3481
As long as the number of users (or sessions!) is greater than 0 the document is not finally saved.

Note: if you or a collaborator forgets to close the web-session, OnlyOffice will automatically save the document after 1h or inactivity.

Only after all OnlyOffice sessions are closed, the document will be transferred from the OnlyOffice server to the SWITCHdrive server. Once it is stored or updated on the SWITCHdrive server it usually takes about 1 minute until the document is synchronised to all the other clients.

If the current load of the system is high, this could also take a little bit longer. To be on the safe side, wait for the desktop notification that the document was updated before you open the document with your local office application or process it any further.

notification

(To see these Notifications, please turn on the desktop notifications in the switchdrive settings)

When a long web session is taking place, it is strongly recommended to store a version of your document from time to time, just to be on the safe side if there is a network interruption or another problem that prevents you or the collaborators from saving your edits to the current document.

To create a local version of your document, click on the "File" menu entry (1) and then click on "Download as...". 
DownloadCopy

Click on the DOCX file format on the right (3) and wait until document is successfully stored in your local Downloads folder. Then continue to edit your document by clicking the "Home" menu entry (1).

If everything is fine at the end of the web-session you can ignore the downloaded versions in your local Downloads folder or delete them somewhen later. If not, open the latest version from your Downloads folder and store it in the location where the original document was.