Data Mapping
Managing data structure differences between systems
Data mapping is the process of defining how fields in one system correspond to fields in another system. This is essential for integration as different systems often represent the same data in different ways.
Practice Alert
You'll get hands-on experience with these data mapping concepts later when we integrate with QuickBooks Online.
Data Mapping Fundamentals
What is Data Mapping?
Data mapping addresses differences in:
- Field names and types
- Data formats and structures
- Required vs. optional fields
- Validation rules and constraints
- Character encodings and localization
Common Mapping Challenges
Name Differences
Different systems use different field names for the same data:
Type Differences
Different systems use different data types for the same concept:
Structure Differences
Different systems organize data with different hierarchies:
Data Mapping Techniques
Field Mapping
Explicitly define field correspondences:
Value Transformation
Convert between different representations, in this case using Custom Functions (which we'll explore in detail later in this workshop):
For more information on these date and time conversion functions, see the Date & Time Functions reference.
ID Mapping
When integrating systems, you'll often need to translate between external IDs (like QuickBooks Online IDs) and internal FileMaker IDs. This is a common mapping challenge that can be simplified with Custom Functions:
This mapping approach maintains a table of ID relationships between systems, providing a clean translation layer that simplifies integration maintenance. For more information on the lookup function used in these examples, see the lookupFieldValue function reference.
Aggregation and Splitting
Combine or separate fields:
Default Values
Handle missing data with defaults:
JSON Transformation
Transform between different JSON structures: