Drupal Integration - Step 2: Template Mappings

Set up a template mapping to push and pull content between Content Workflow and Drupal.

Bruno Wilson avatar
Written by Bruno Wilson
Updated over a week ago

Introduction to Template Mappings

To import content from Content Workflow, you need to set up mappings between your templates in Content Workflow and content types in Drupal. Follow these steps to map your templates.

Setting up a Template Mapping

1. Select the Content Workflow Templates
Go to the following sections in order to select the templates from Content Workflow you'd like to map.

  • Drupal 7
    Location: Admin > Configuration > Content Workflow > Mappings > Add Content Workflow Template (/admin/configuration/GatherContent/mapping/create)

  • Drupal 8
    Location: Manage > Configuration > Content Workflow > Mappings > Add Content Workflow Template (/admin/configuration/GatherContent/mapping/create)

Only Templates you've not already selected will be listed. Once you've chosen your Templates, click the 'Select' button. You will then be taken to 'Manage Mappings'.


2. Select 'create' to map the templates
On your 'Manage Mappings' page, click the 'Create' link for the Content Workflow template you'd like to map.

Tip: Selecting the 'delete' option will remove the Template from the 'Manage Mappings' page.

3. Select the Drupal content type
Select the Drupal content type you'd like to map with the Content Workflow Template. This will populate the fields for mapping.

4. Map fields and click 'Create Mappings'
Map fields from the Content Workflow template with the Drupal Content Type selected. Only corresponding field types can be mapped between Content Workflow and Drupal.

If you don’t map a Content Workflow field, this field will be ignored during the import and future updates. A Content Workflow field can only be mapped to the Drupal field once. Click the 'Create Mappings' button when you're done.

Supported Field Types


Once complete, you can move on to importing your content.

Did this answer your question?