CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • How to export both parents
Pages: [1]

Author Topic: How to export both parents  (Read 819 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
How to export both parents
September 04, 2010, 07:33:19 pm
I am using the search action "Export Contacts" and then doing a custom field mapping to select the fields for export.

In my current situation, I am choosing "first name", "last name", "child of...First name", "child of ...Last name", "child of...email" , "child of...phone". This produces a CSV file with the child's first and last name, plus the details for one parent.   

How do I get the details of both parents? ( or any other 1 to many relationship type. )

I am using CiviCRM 3.1.5.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to export both parents
September 04, 2010, 09:20:34 pm

i dont think u can currently do that since contact search returns only one row per contact id

u will need to use a relationship report and/or custom search

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • How to export both parents

This forum was archived on 2017-11-26.