Filter:

Submit Search

## Adding the plugin

The Comsof Integration Module module includes a number of user interface components. These need to be loaded as part of your Network Manager Comms application.

Edit the main.mywcom.js file and add the following lines:

>     // -------------------------

>     //  Configure Comsof Module

>     // -------------------------

>     import ComsofPlugin from 'modules/comsof/js';

>     // Configure plugin

>     const plugins = myw.applicationDefinition.plugins;

>     plugins['comsof'] = ComsofPlugin;

>     //  Configure GUI

>     const desktopLayoutDef = myw.applicationDefinition.layouts.desktop;

>     // Register the workspace list

>     const detailsControl = desktopLayoutDef.controls.tabControl[1].tabs.find(x => x.id === 'details')

>      .control[1];

>     detailsControl.pluginIds.splice(2, 0, 'comsof');

Now rebuild your JavaScript applications library:

>     myw_product build applications

You may also want to adjust the configuration for your default users, to make these layers visible by default, in the application’s layer list. It is recommended that most workspace layers are set unchecked, by default. (This prevents unnecessary server requests when a workspace is opened).