Updating and Validating FSM Configuration
Update the Field Service Management (FSM) configuration when you need to change a supported property. Create an inactive copy of the current configuration, then edit and validate the copy. Activate the revised configuration and retain the previous version as an inactive record.
In this topic:
Preparing a Revised Configuration
An inactive copy of the current configuration lets you prepare and validate changes before replacing the active version.
To update the configuration:
-
Go to Field Service > Administration > Configuration.
The Field Service Configuration page opens the active configuration record.
-
Record the name of the active configuration so that you can identify it when activating the replacement.
-
In Name, enter a unique name for the revised configuration. Begin with the current product version, followed by the date in
YYYYMMDDformat and your initials. You can add a short description. -
Check the Inactive box to keep the replacement inactive during editing.
-
From the Save list, click Save As.
-
Click List. On the Field Service Configuration List page, check the Show Inactives box.
-
Find the copied record and click Edit.
-
Change the JSON in the Editor. If you use an external editor, paste the revised JSON back into the Editor.
-
Complete the checks under Validating the Draft before activation.
-
From the Save As list, click Save.
-
On the configuration list, clear the Inactive box for the replacement record and check the Inactive box for the previous active record.
-
Click Submit. Reopen the configuration page to confirm the intended record is active.
The previous configuration remains available as an inactive record.
Automatic Configuration Updates
FSM can apply automatic changes to the active custom configuration through scheduled configuration maintenance. A targeted account update applies only when the property's current value matches the expected value and differs from the proposed value.
When an automatic change replaces the active configuration, FSM creates a record whose name begins with Auto Configure and inactivates the previous record. The previous configuration remains available for reference. Before preparing a manual revision, confirm which record is currently active.
Not every SuiteApp update changes custom configuration. For the associated scheduled script, deployment, and monitoring details, see FSM Script Reference.
Validating the Draft
FSM checks whether the Editor content can be parsed as JSON. When Preview is enabled, the form shows whether the JSON is valid or invalid. FSM rejects invalid JSON when you save, whether Preview is enabled or disabled.
Repeated property names within one object pass the syntax check, but only the last value remains. With Preview enabled, the Editor can remove an earlier duplicate when you finish changing the field. Saving removes earlier duplicates whether Preview is enabled or disabled.
The syntax check doesn't comprehensively validate property paths, values, record references, searches, expressions, or the account setup needed for the intended behavior.
Valid JSON and Configuration Preview don't establish that a property is supported or that downstream processing succeeds.
For performance measurement and data capture, see FSM Performance and Data Collection.
Configuration Preview
When you edit a configuration record, Preview shows a merged configuration that includes unsaved changes in the record's Editor. For an inactive record that contains only config.preview, Preview may still show settings from the active custom configuration. Preview doesn't confirm that changes in the Editor are saved or active.
The preview property in the root config object controls whether the form displays Preview. Its default is false.
Enabling Configuration Preview
Enable Preview to inspect the merged configuration on the configuration form.
When enabling Preview in an existing custom configuration, add "preview": true to the root config object without replacing other properties in the configuration. Adding config.preview only to an inactive record doesn't enable Preview on the form.
To enable Configuration Preview:
-
Add
"preview": trueto the rootconfigobject.{ "config": { "preview": true } } -
Save the configuration.
-
Activate the configuration.
Viewing the Standard Product Configuration
A separate Preview-only record lets you inspect the standard product configuration without custom overrides.
In a production account, use this method only when you're confident that inactivating the other configuration won't affect work in FSM Mobile.
To view the standard product configuration:
-
Save a separate configuration record containing only
{"config":{"preview":true}}. -
Inactivate all other configuration records, then activate this Preview-only record.
-
Open the active Preview-only record in edit mode.
Its Preview shows the standard product configuration.
-
When you finish viewing Preview, inactivate the Preview-only record and reactivate the proper custom configuration.
Standard default JSON (false hides Preview):
{
"config": {
"preview": false
}
}
Additional Information
Related Topics
- FSM Configuration
- FSM Configuration File Structure
- FSM Configuration Reference
- Configuring FSM Features
-
FSM Configuration Maintenance