Release Day: Migrating References and Multi-Value Fields

Very few migrations are simple and straight-forward enough that a simple field mapping gets all of the little bits you need. In this week's Importing Data With Migrate and Drupal 7 lessons, we take a look at some complicated field mappings. We are going to add some new data we need to import, with team information. The team data is related to our player data through a relationship, and a player can have multiple teams they've played for. In these lessons we'll see how we can handle referenced fields during migration, and two approaches to working with multi-value fields. Additionally, we're going to see how creating and using migration stubs can help us handle dependencies during more complex migrations.

Next week, we're going to wrap up this series with a look at the source and destination migration classes, and some tips for troubleshooting migration failures.

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code class> <ul type> <ol start type> <li> <dl> <dt> <dd><h3 id> <p>
  • Lines and paragraphs break automatically.

About us

Drupalize.Me is the best resource for learning Drupal online. We have an extensive library covering multiple versions of Drupal and we are the most accurate and up-to-date Drupal resource. Learn more