Arrays in Field Service Management Configurations
Understand how arrays work in Field Service Management configurations and how to manage overrides in NetSuite.
TL;DR Opening
Arrays in Field Service Management (FSM) configurations play a critical role in custom setups. Unlike objects that can be merged property-by-property, arrays completely replace their default values when overridden, which requires careful management by users.
How Do Arrays Function in FSM Configurations?
In the context of FSM configurations, arrays are defined as content enclosed in square brackets, such as filter and item. Unlike other configuration elements, when you override an array, the entire base array is replaced rather than merged. This distinction is essential for users to grasp to maintain the standard behavior of the FSM features.
What Happens When You Override an Array?
If you only wish to add elements to an array, it’s crucial to copy the entire array from the core configuration into your custom configuration. If you fail to do this, you'll inadvertently remove all default behaviors and values. Therefore, ensure that you always include the existing elements of the base array and then append your new values.
Merging Custom Configuration with Core Product
When the FSM product runs, it merges your custom configuration with the core product code. The core product code is integral to the FSM’s functionality, while the custom configuration allows specific customization tailored to each user's account.
Important Configuration Note
Users should ensure that only one custom configuration file is active at any given time, marking the others as inactive. This practice prevents potential conflicts and ensures that the primary custom setup is correctly applied.
Runtime Configuration Overview
During runtime, the configuration JSON merges with the core product code to determine how the FSM operates. If no custom JSON is defined, the FSM defaults to the core configuration behaviors. The Configuration Preview feature offers a method to visualize this runtime merging process, making it easier to understand how your configurations affect the FSM behavior.
Note: The behavior of the FSM product code can change based on the activated NetSuite features in the account.
Key Takeaways
- Arrays in FSM configurations replace the entire base values when overridden instead of merging.
- Always copy the complete base array for modifications to maintain its default behavior.
- Only one active custom configuration file should be enabled to reduce conflicts.
- The Configuration Preview feature allows users to visualize merged configurations effectively.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
How are arrays managed differently from objects in Field Service Management configurations?
What should I do if I want to add elements to an array in FSM configurations?
Can I have multiple custom configuration files active simultaneously in FSM?
How can I visualize how custom configurations merge with core product code in FSM?
Was this article helpful?
More in Field Service Management
- Running Searches in Config: Basic Syntax
Documentation article about Basic Syntax
- Internationalization Enhancements in NetSuite 2026.1
NetSuite 2026.1 enhances Field Service Management with user locale support, localizing date, time, and number formats based on browser settings.
- Field Service Management Mobile App Features in NetSuite 2026.1
Discover the new features of the Field Service Management mobile app in NetSuite 2026.1, designed for field resource collaboration.
- The Consumable Element
Documentation article about The Consumable Element
Advertising
Reach Field Service Management Professionals
Put your product in front of NetSuite experts who work with Field Service Management every day.
Sponsor This Category