ImpulseSync™ User Manual
HomePricingContact Us
  • Introduction
    • What is Impulse?
  • Crash Course of ImpulseSync
    • Overview Of ImpulseSync
    • Step 1: Endpoints
      • Endpoint Configuration
    • Step 2: Jobs
      • Job Configuration
      • Step 2a: Content manipulators
      • Step 2b: Content mapper
    • Step 3: Syncing
  • Getting Started
    • Core Concepts
    • Creating Endpoints
    • Creating Jobs
    • Starting a Transaction
    • Transaction Reports
    • Automating Jobs with Pipelines
    • Scripting Post Sync
    • Scheduling Jobs and Pipelines
    • Dashboard
    • Managing Jobs/Pipelines
    • Content Mapper
      • Aligning Mismatched Content
      • Connector Matrix
      • Locked Fields
      • Content Aligner
      • Aligning Content Challenges
  • Reports
    • Reports Screen
    • Debug Report
    • Messages
  • Connectors
    • Common Job Options
    • All Connectors List
    • Source Connectors
      • Contentful
      • Contentstack
      • dotCMS
      • Drupal v7
      • Drupal v9
      • GitHub
      • GraphQL
      • MS Teams
      • SCP
      • Snapshot
      • Strapi v3
      • Strapi v4
    • Destination Connectors
      • Contentful
      • Contentstack
      • dotCMS
      • SCP
      • Strapi v3
      • Strapi v4
  • Content Manipulators
    • Common Manipulator Options
    • Add Replace Field
    • AI(Artificial intelligence)
    • Change ID Manipulator
    • CSV Store Manipulator
    • Dynamic Job Store Manipulator
    • File to Text
    • Folder Manipulator
    • Get and Set Field
    • Language
    • Liquid Field
      • Liquid On the Quick
      • Basics
        • Impulse Values
        • Impulse Variables
        • Operators
        • Truthy and falsy
        • Types
        • Whitespace control
      • Tags
        • Control flow
        • Impulse Content Objects
        • Iteration
        • Utility
        • Variable
      • Filters
        • abs
        • append
        • capitalize
        • ceil
        • compact
        • concat
        • date
        • date_str
        • default
        • divided_by
        • downcase
        • escape
        • escape_once
        • first
        • floor
        • getStoredValue
        • htmlQuery
        • htmlReplace
        • idMap
        • join
        • jq
        • json
        • last
        • lstrip
        • map
        • minus
        • modulo
        • newline_to_br
        • plus
        • prepend
        • remove
        • remove_first
        • replace
        • replace_first
        • reverse
        • round
        • rstrip
        • section
        • sections
        • size
        • slice
        • sort
        • sort_natural
        • split
        • str_to_date
        • strip
        • strip_html
        • strip_newlines
        • times
        • truncate
        • truncatewords
        • type
        • uniq
        • upcase
        • utl_decode
        • url_encode
      • Liquid Playground
    • Markdown
    • Regex
    • Relationship
    • Store Field
    • Tidy
  • Time Machine
    • Snapshot
    • Viewing Snapshots
    • Delivery from Snapshots
  • Cookbook Recipes
    • Adding Fields
    • Aligning Content between Endpoints
    • Avoid overriding Fields
    • Avoid syncing Content Types
    • Combing Fields
    • Default Field Value
    • File (.doc) to Structured Content
    • File (.docx) to Structured Content - Expanded
    • HTML to Structured Content
    • Language (Locale) mismatch between endpoints
    • Paths/IDs Changed
    • Reference to Value
    • Single Content Type to Multiple
    • Splitting Content with Reference
    • Syncing Content with Languages
    • Text Select to Boolean
    • Text to Reference
    • Text to Reference - liquid
    • Two Sources to One Destination
    • Changing a folder path
    • Combining data between content types
    • Converting HTML Sections
    • JSON object to reference
    • Use CSV to convert values
    • Storing fields with Store field motator
  • Troubleshooting
    • What to do if I run into a Job Problem
    • Troubleshooting via UI
    • Submitting a ticket
  • Using Impulse Headlessly
    • Getting Started with cURL
      • Creating Endpoints
      • Creating Jobs
      • Starting a Transaction
      • Transaction Reports
      • Automating Jobs with Pipelines
      • Scheduling Jobs and Pipelines
      • Aligning Mismatched Content
      • Scripting Post Sync
  • Organization Tier Restrictions
  • Content Storage Options
Powered by GitBook
On this page
  • Requirements
  • What are Locked Fields?
  • Locked Fields
  • Handling Languages/Locales
  • How to use Locked Fields via API?
  • Example
  1. Getting Started
  2. Content Mapper

Locked Fields

PreviousConnector MatrixNextContent Aligner

Last updated 1 year ago

Requirements

  1. Connector has to be a level 3 connector. Meaning that has to have support for source and destination.

  2. IMPORTANT: The locked Fields will only run on a second or later sync. If you are running a first sync, the locked fields will not work as expected. This is because the locked fields need to have a previous version of the content to compare against.

What are Locked Fields?

Locked fields are fields that will not be updated on the destination content. This is useful when you want to keep some fields on the destination content, but you want to update other fields.

Locked Fields

When editing a mapping for a job, you can set the destination locked fields. If the connector for the endpoint supports listing fields, a dropdown can be opened to select the fields.

This is a comma separated list of fields. Each field listed will be locked at the destination.

Handling Languages/Locales

If the connector supports languages/locales, the locked fields will be applied to the fields following this priority:

  1. If the destination endpoint has only one language, the locked fields will be applied to that one, even when the source endpoint language doesn't match.

  2. If the destination endpoint has more than one language, the locked fields will be applied to the language that matches the source endpoint.

How to use Locked Fields via API?

To use locked fields, you need to create a content mapping config with the locked fields. The locked fields are defined in the destinationLockedFields array. If the uniqueName attribute is set, then the destination field will not be updated.

Example

{
    "endpointId": "8eb1794f-b0e7-45f0-911d-45c2dd2798c6",
    "destinationContentTypeUniqueName": "iMapped",
    "fieldMappings": [
        {
            "sourceFieldUniqueName": "body",
            "destinationFieldUniqueName": "wysiwyg"
        }
    ],
    "destinationLockedFields": ["headline,myLockedField"]
}
mapping-locked-fields-dropdown.png
mapping-locked-fields-value.png