Module Config

Note

The URL of the config interface (ICE) for a module is: jsonsails.com/module/<module_id>/config

Module configuration is designed at the root node, and for a reference module the config GUI is exposed through the refmod node.

Config Script

The main namespaces here are

  • js.ConfigApi
  • js.config

See also

Config GUI

This is the configuration GUI, created by the config script, to set properties of the config JSON.

../_images/gui.png

Config JSON

The config is JSON data structure which is accessible in module JS context.

{
  "field_name": "some val"
}