Configuration Preview

The Configuration Preview feature lets you preview the runtime configuration in your account.

This preview shows the configuration running in your account, combining the FSM core product code with your custom config from the configuration record.

Note:

The core FSM product code running on an account varies based on which NetSuite features are enabled.

Enabling the Configuration Preview Feature

The preview property in the config component lets you turn the feature on or off for a specific config instance or file. It can be set to true or false; true turns the feature on, and false turns it off.

To enable the Configuration Preview feature:

  1. Go to Field Service > Administration > Configuration.

  2. The Field Service Configuration page opens the active configuration file. On the JSON field, add the following code:

                      {
        "config": {
            "preview": true
        }
    } 
    
                    
  3. Click Save.

Working with the Configuration Preview Field

When preview is enabled, the configuration file shows two JSON fields in edit mode: the Editor and the Preview fields. The Editor field is where you manage your custom config. The read-only Preview field shows the merged runtime config.

If the Editor field is blank, the Preview field will show only the core product config. If you add custom config to the Editor, it's merged with the core config and shown in the preview.

Merging config entries results in the following:

  • If a custom config property overlaps with the core config, it overrides the core config.

  • If a custom config property doesn't overlap, it's added to the core config.

  • A custom config property with a string value overrides the core config.

  • A custom config property with a number value overrides the core config.

  • A custom config property with a Boolean value overrides the core config.

  • Property names are matched case-insensitively.

  • Comments in the custom config using // aren't merged with the core config.

  • Custom config properties with null values aren't merged with the core config.

  • Any custom config is validated, and invalid content will result to error messages. Note that only the first error is shown.

Related Topics

General Notices