Book Image

CiviCRM Cookbook

Book Image

CiviCRM Cookbook

Overview of this book

CiviCRM is a web-based, open source, Constituent Relationship Management (CRM) software geared toward meeting the needs of non-profit and other civic-sector organizations.Organizations realize their mission via CiviCRM through contact management, fundraising, event management, member management, mass e-mail marketing, peer-to-peer campaigns, case management, and much more.CiviCRM is localized in over 20 languages including: Chinese (Taiwan, China), Dutch, English (Australia, Canada, U.S., UK), French (France, Canada), German, Italian, Japanese, Russian, and Swedish.CiviCRM Cookbook will enhance your CiviCRM skills. It has recipes to help you use CiviCRM more efficiently, integrate it with CMSs, and also develop CiviCRM.This book begins with recipes that help save time and effort with CiviCRM. This is followed by recipes for organizing data more efficiently and managing profiles.Then you will learn authentication and authorization and managing communication with contacts.Then you will be guided on using the searching feature and preparing reports. We will then talk about integrating Drupal and CiviCRM. You will also be taught to manage events effectively. Finally, learn about CiviCampaign, Civimember, and developing CiviCRM.
Table of Contents (19 chapters)
CiviCRM Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Importing relationship data


A relationship is a connection between two or more contacts. For example, some contacts may be children of other contacts, who are the parents. Some contacts will be employers of other contacts—employees.

How to do it…

This recipe will show you how to import relationships properly. We will use the built-in employer-employee relationship.

  1. Navigate to Administer | Customize Data and Screens | Relationship Types and check that the employer relationship exists and is enabled.

  2. Import all the contacts that will be employers. These will generally be organization contacts.

  3. Now import all the contacts that will be employees. Make sure you have a unique identifier for each contact.

    In the preceding data, the Key column contains a unique identifier. The Organization column contains the name of the employer.

  4. Now import the individual contact data again, but this time we will import the relationship.

  5. Navigate to Contacts | Import contacts and set your import.

  6. Note we are updating our...