Answers.Body: <p>I use CSV API import quite heavily - but if there's a way to do chaining, I'm unaware of it.  I use an ETL tool (Pentaho Kettle) to script migrations, so I handle lookups there.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-11T14:08:40.220Z
Answers.LastActivityDate: 2015-11-11T14:08:40.220Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I assume you would be able to make it do it, but I do not think it works like that out of the box.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-12T18:42:31.343Z
Answers.LastActivityDate: 2015-08-12T18:42:31.343Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>Looking to use import.php function to do a big import.</p>
  
  <p>I'm yet to find some documentation that clearly explains it all. Seen this:</p>
  
  <p><a href="https://civicrm.org/blogs/xavier/api_batch_tools" rel="nofollow">https://civicrm.org/blogs/xavier/api_batch_tools</a></p>
  
  <p>and this <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Imports" rel="nofollow">http://wiki.civicrm.org/confluence/display/CRMDOC/Imports</a></p>
  
  <p>But I'm wondering - the way it works, in terms of using a csv that maps to an entity - is it possible in any way to chain entities in the same way the API works? i.e. create contacts with address and email etc in one CSV?</p>
  
  <p>Thanks</p>
  
  <p>J</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-14T02:46:00.827Z
Comments.Text: Have you considered other options like the CiviCRM Migrate addition Eileen built for the Drupal Migrate module?
Comments.UserDisplayName: petednz - fuzion
Tags: <import>
Title: API chaining like behaviour with import.php
ThreadText: # API chaining like behaviour with import.php
  
  (Asked by: username_0 on 2015-08-12)
  
  Looking to use import.php function to do a big import.
  
  I'm yet to find some documentation that clearly explains it all. Seen this:
  
  <https://civicrm.org/blogs/xavier/api_batch_tools>
  
  and this <http://wiki.civicrm.org/confluence/display/CRMDOC/Imports>
  
  But I'm wondering - the way it works, in terms of using a csv that maps to an entity - is it possible in any way to chain entities in the same way the API works? i.e. create contacts with address and email etc in one CSV?
  
  Thanks
  
  J
  
  **Tags:** import
  
  > **Comments:**
  > **username_1**: Have you considered other options like the CiviCRM Migrate addition Eileen built for the Drupal Migrate module?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-11-11. Score: 2
  
  I use CSV API import quite heavily - but if there's a way to do chaining, I'm unaware of it. I use an ETL tool (Pentaho Kettle) to script migrations, so I handle lookups there.
  
  
  ---
  
  ### Answer by username_3 on 2015-08-12. Score: 0
  
  I assume you would be able to make it do it, but I do not think it works like that out of the box.
  
  
  ---
  
  