8 – Migrating multivalue link fields from CSV


I am trying to migrate data from D7 to D8 using Drupal Migrate with source CSV. I am able to import all the data except multivalue link field. With the help of examples from Migrate Plus, I am able to import single value to it. But its not happening with multiple value.

The CSV file is like this

title,related_links_title,related_links_url
"Node 1","Link Title 1, Link Title 2, Link Title 3","http://www.google.com, http://www.google.com, http://www.google.com"
"Node 2","Link Title 1, Link Title 2, Link Title 3, Link Title 4","http://www.google.com, http://www.google.com, http://www.google.com, http://www.google.com"

And the migration file looks like this:

process:
  field_related_links/uri: related_links_url
  field_related_links/title: related_links_title

When I run this migration, I am not getting any errors but all the data is coming in a single field rather than splitting it to multiple fields. Do I need to create a subprocess to handle this?