Marvin Live export plugins add new report file format or report storage locations. These plugins are NodeJS modules, stored in a folder set by Marvin Live's configuration file.
an instance of Marvin Live available for development purposes, i.e.: the ability to stop and start it, to try different configuration options
good understanding of Promises / async await
This plugin type is intended to save important information from a discussion room, to files such as a powerpoint document saved to the local machine.
Marvin Live scans the services directory to find all export plugins and generates a GUI element to execute them. There is 1 instance of a plugin per domain.
Export plugins are NodeJS modules , denoted by their filename:
and the location in the services directory as configured during installation.
An export plugin exports the following required properties:
The main function of the plugin, called when the sketcher is used, once for each change. The function must return a Promise of the results / be declared as an async function. The results are broadcasted by the application.
The fulfillment value of the promise must be a
Unique identifier of the plugin, used by Marvin Live for identification and internal communication. If multiple plugins use the same identifier, the last one to be loaded overrides the others.
Human readable name of the plugin, used by Marvin Live to display GUI elements related to this plugin.
array of strings
List of domains where this plugin may be used, when authentication is enabled in Marvin Live. Use
Configures the application to expect a file or a text message when the generate() promise is resolved. Files are downloaded to the client browser, text messages are displayed in a dialog.
Suggested file name when the download prompt appears in the browser. Only used when returnType is set to file . It’s possible to use variables that are replaced automatically when creating the file.
|templateFile||string||Relative path to an HTML template, when |
Below is an example of the meeting data object, with inline description of the individual attributes for structures and comments.
You can find a brief selection of plugins in our Github repository: CSV exporter, SMILES, SDF v3000 and IDBS E-workbook exporter