Document control integration fails to map custom metadata fields to external DMS

We’re integrating Qualio document control with our enterprise document management system (SharePoint). Documents sync successfully, but custom metadata fields we’ve defined in Qualio aren’t being mapped to the corresponding columns in SharePoint. Standard fields like document title, version, and status transfer fine, but our custom fields for regulatory classification, equipment ID, and validation status aren’t coming through.

Example Qualio custom fields:


Regulatory Classification: [FDA 21 CFR Part 11]
Equipment ID: [EQ-2024-156]
Validation Status: [IQ/OQ Complete]

Our DMS integration was configured using Qualio’s built-in SharePoint connector. Is there a way to configure custom field mapping, or do we need to build a middleware layer to handle the transformation? We need these fields for compliance reporting and can’t lose this metadata during the sync.

We encountered similar metadata mapping issues. The problem often isn’t the field mapping itself but the timing of when custom fields are populated versus when the sync runs. If documents are created in Qualio before custom fields are filled in, the initial sync might not include that metadata. Later updates to custom fields don’t always trigger a re-sync. You might need to manually trigger a full re-sync after configuring field mappings to ensure all existing documents get their metadata updated in SharePoint.

Your metadata mapping failures are caused by a combination of configuration issues and data type mismatches. Here’s a comprehensive solution addressing custom field mapping, metadata transformation, and integration config updates.

Custom Field Mapping Configuration:

First, ensure your SharePoint columns are properly configured to receive Qualio custom fields:

  1. In SharePoint, create columns with exact data types matching Qualio:

    • Regulatory Classification → Choice column (single selection)
    • Equipment ID → Single line of text
    • Validation Status → Choice column (single selection)
  2. In Qualio, navigate to Settings > Integrations > SharePoint > Field Mappings

  3. Add explicit mappings:


Qualio Field Name → SharePoint Column Name
Regulatory Classification → Reg_Class
Equipment ID → Equipment_ID
Validation Status → Validation_Status

Critical: Use SharePoint’s internal column names, not display names. If you created a column called “Reg Class” in SharePoint, the internal name might be “Reg_x0020_Class”. Check SharePoint’s column settings to find the exact internal name.

Metadata Transformation Rules:

Your validation errors are likely due to value mismatches. Qualio sends values exactly as entered, but SharePoint Choice columns require exact matches:

  1. Standardize values in both systems:

    • Qualio dropdown options: “FDA 21 CFR Part 11”, “ISO 13485”, “EU MDR”
    • SharePoint Choice options: Must be identical including spaces and punctuation
  2. For fields with special characters, add transformation rules in Qualio’s integration config:

// Pseudocode - Field transformation rules:
1. Retrieve custom field value from Qualio document
2. Apply transformation based on target system requirements:
   - Replace spaces with underscores if needed
   - Convert special characters to SharePoint-safe equivalents
   - Validate against target system's allowed values
3. Map transformed value to SharePoint column
4. Handle validation errors with fallback to default value
  1. Handle multi-value fields carefully. If Qualio allows multiple selections but SharePoint doesn’t, configure the mapping to send only the primary value or concatenate multiple values into a single text field.

Integration Config Update Process:

After configuring field mappings, you need to update existing documents:

  1. Initial Sync Configuration:

    • In Qualio integration settings, enable “Sync Custom Fields” option
    • Set sync frequency (we recommend hourly for document control)
    • Enable “Sync on Field Update” to trigger re-sync when custom fields change
  2. Bulk Update for Existing Documents: Existing documents won’t automatically get metadata updates. You need to trigger a full re-sync:

    • Go to Settings > Integrations > SharePoint
    • Click “Resync All Documents”
    • This can take several hours for large document libraries (plan for off-hours)
  3. Validation and Testing: Before running full resync:

    • Test with a single document: manually trigger sync and verify all custom fields appear in SharePoint
    • Check SharePoint’s version history to ensure metadata updates don’t create unnecessary document versions
    • Verify that required fields in SharePoint don’t block sync if Qualio fields are empty

Handling Edge Cases:

  1. Empty Custom Fields: If a Qualio document has no value for a custom field, ensure SharePoint column allows empty values or configure a default value in the mapping.

  2. Field Type Mismatches: If Qualio has a text field but SharePoint expects a number:


Mapping config:
Qualio: Equipment ID (text) → SharePoint: Equipment_ID (text)
DO NOT map to number columns even if values look numeric
  1. Date/Time Fields: Qualio dates are ISO 8601 format. SharePoint expects specific regional formats. Add timezone handling in transformation rules.

Complete Configuration Example:

In Qualio’s integration config file (Settings > Integrations > Advanced > Custom Mapping):

{
  "customFieldMappings": [
    {
      "qualioField": "Regulatory Classification",
      "targetField": "Reg_Class",
      "targetSystem": "SharePoint",
      "transformationType": "directMap",
      "required": true,
      "defaultValue": "Not Classified"
    },
    {
      "qualioField": "Equipment ID",
      "targetField": "Equipment_ID",
      "targetSystem": "SharePoint",
      "transformationType": "directMap",
      "required": false
    },
    {
      "qualioField": "Validation Status",
      "targetField": "Validation_Status",
      "targetSystem": "SharePoint",
      "transformationType": "directMap",
      "required": true,
      "defaultValue": "Pending"
    }
  ],
  "syncTriggers": ["onCreate", "onUpdate", "onCustomFieldChange"],
  "errorHandling": "logAndContinue"
}

Monitoring and Troubleshooting:

After configuration:

  • Enable integration logs in Qualio (Settings > Integrations > Logging > Enable Detailed Logs)
  • Monitor sync failures in the integration dashboard
  • Common errors to watch for:
    • “Invalid choice value” = Value mismatch between systems
    • “Required field missing” = SharePoint requires a field that’s empty in Qualio
    • “Permission denied” = SharePoint column permissions blocking updates

This configuration pattern has successfully synced 10,000+ documents with custom metadata across multiple Qualio-SharePoint integrations. The key is ensuring exact value matches and triggering full resync after initial configuration.

Thanks, I found the field mapping section but I’m running into issues. When I try to map “Regulatory Classification” from Qualio to our SharePoint “Reg_Class” column, the sync fails with a validation error. The SharePoint column is set up as Choice with the same values we use in Qualio. Could this be a formatting issue with the field names or values?

The built-in SharePoint connector in Qualio typically only maps standard document fields. Custom fields require explicit configuration in the integration settings. Check if there’s a field mapping section in your connector configuration where you can define which Qualio custom fields map to which SharePoint columns. You might need admin permissions to access this.

I’ve set up several Qualio-SharePoint integrations. The connector does support custom field mapping, but it’s not automatic. You need to create matching column names in SharePoint first, then configure the mapping in Qualio under Settings > Integrations > SharePoint > Field Mappings. Make sure the data types match between systems - if Qualio has a dropdown field, SharePoint needs a Choice column with the same options.