Answers.Body: <p>Welcome to SE!  Yes, you can import the relationship at the same time.  The documentation describes your situation <a href="https://docs.civicrm.org/user/en/latest/common-workflows/importing-data-into-civicrm/#importing-relational-data" rel="nofollow noreferrer">here</a>.</p>
  <p>This is based on one row per child with parent details in the columns.  You import once for child, mother, relationship and once for child, father, relationship.</p>
  <p>Check that your default dedupe rules work for the parent fields you are importing to avoid duplicates being created.</p>
  <p>You don't need to do anything special where more than one child has the same parents other than check the dedupe rules.  Each child is a separate line.</p>
  <p>I'd suggest trying this on a test system first to become familiar with the process and check your dedupe rules are working as desired.</p>
  <p>Try following the steps in the documentation and let us know if you have further questions.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-11T16:00:53.143Z
Answers.LastActivityDate: 2020-11-11T16:00:53.143Z
Answers.UserDisplayName: Aidan
Body: <p>We are using civi to help us fundraise for our school. Each year we upload the new parents to the database from a csv from schoolbase. We need to add a relationship for each parent to their child(ren). This is important, because the communications we send vary based on the children's D.O.B (this enables us to tell which school year they are in without updating it every year). Is there a way to import these relationships at the same time as importing the contacts? Is this just a question of using correct field mapping? If they have more than one child would you need to have all the children in the same field? I'm assuming you'd need to import the children separately first, is that right?</p>
  
Tags: <contacts><relationships><upload><fundraising>
Title: uploading new contacts with relationships
ThreadText: # uploading new contacts with relationships
  
  (Asked by: username_0 on 2020-11-11)
  
  We are using civi to help us fundraise for our school. Each year we upload the new parents to the database from a csv from schoolbase. We need to add a relationship for each parent to their child(ren). This is important, because the communications we send vary based on the children's D.O.B (this enables us to tell which school year they are in without updating it every year). Is there a way to import these relationships at the same time as importing the contacts? Is this just a question of using correct field mapping? If they have more than one child would you need to have all the children in the same field? I'm assuming you'd need to import the children separately first, is that right?
  
  **Tags:** contacts, relationships, upload, fundraising
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-11-11. Score: 3
  
  Welcome to SE! Yes, you can import the relationship at the same time. The documentation describes your situation [here](https://docs.civicrm.org/user/en/latest/common-workflows/importing-data-into-civicrm/#importing-relational-data).
  
  This is based on one row per child with parent details in the columns. You import once for child, mother, relationship and once for child, father, relationship.
  
  Check that your default dedupe rules work for the parent fields you are importing to avoid duplicates being created.
  
  You don't need to do anything special where more than one child has the same parents other than check the dedupe rules. Each child is a separate line.
  
  I'd suggest trying this on a test system first to become familiar with the process and check your dedupe rules are working as desired.
  
  Try following the steps in the documentation and let us know if you have further questions.
  
  
  ---
  
  