Mendeley plugin allows users to create bibliographies in ONLYOFFICE editors using Mendeley service.
The plugin is pre-installed in ONLYOFFICE Workspace (both Enterprise and Community Edition), ONLYOFFICE cloud service, and ONLYOFFICE Personal. It can also be installed to Document Server manually.
-
Search references by author, title or year.
-
Among search results, choose ones you want to add to your document.
-
Choose style (e.g. Chicago Manual, American Psychological Association) and language.
-
Press
Insert citation
.
Two installation ways are available:
-
Put the folder with Mendeley plugin (it must contain the content of the src folder only) to ONLYOFFICE Document Server folder depending on the operating system:
For Linux -
/var/www/onlyoffice/documentserver/sdkjs-plugins/
.For Windows -
%ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\
.The plugins will be available to all the users users of ONLYOFFICE Document Server. No service restart is required.
-
Edit the Document Server config to add the following lines:
var docEditor = new DocsAPI.DocEditor("placeholder", { "editorConfig": { "plugins": { "autostart": [ "asc.{BE5CBF95-C0AD-4842-B157-AC40FEDD9441}", ... ], "pluginsData": [ "https://example.com/path/to/mendeley/config.json", ... ] }, ... }, ... });
Important: when you integrate ONLYOFFICE Document Server with a 3rd-party storage, you need to use special connectors (integration apps). If you compile a connector from source code or create a new one, you can add plugins using Document Server config. If you use ready connectors (e.g. from ownCloud/Nextcloud marketplaces) adding plugins via config is not applicable.
You will need to register the application.
-
Fill in the form using link provided in the plugin interface as a redirect URL.
-
Press
Generate secret
and copy it. -
Insert the secret into the appropriate field in the plugin interface.
For CentOS users with SELinx enabled, after copying the src folder to sdkjs-plugins, plugins may not work due to the variable file security context. To restore the rights, use the following command:
sudo restorecon -Rv /var/www/onlyoffice/documentserver/sdkjs-plugins/
After that restart the services:
sudo supervisorctl restart ds:docservice
To ask questions and share feedback, use Issues in this repository.