Answers.Body: <p>It depends what you are after. You can use CiviCRM Contact Reference Field and this gives you a field on Node that you can then pull in the civi data. Having done that you can then pull in other civi data to that node via Views. You can see an example of this in action <a href="https://europeangreens.eu/parties/b%C3%BCndnis-90die-gr%C3%BCnen" rel="nofollow">here</a> where the Node is the Party, there is a reference field on that node to the Party contact in civi - and then the info about the Party eg Contact details are pulled on the page via Views using a Context Filter for 'nid from current node).</p>
  
  <p>Then the MPs in the list lower on the page are pulled in because they have a Civi relationship to the Party ;-)</p>
  
  <p>The Leaders on the other hand are 'node referenced' to the party in Drupal.
  And if you click through to a <a href="https://europeangreens.eu/people/cem-%C3%B6zdemir" rel="nofollow">Leader page</a> you get the same deal. The MP page has 'civi reference' field to the MP civi contact. And all the other blocks are pulling in data eg Nodes that are node referencing back to this node.</p>
  
  <p>Hope that gives you some ideas and partially answers your question.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-19T00:09:47.957Z
Answers.LastActivityDate: 2015-12-19T00:09:47.957Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>I've also edited my answer,
  Drupal services module <a href="https://www.drupal.org/project/services" rel="nofollow">https://www.drupal.org/project/services</a> will do the trick for smooth integration with SearchAPI/FacetAPI.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-18T23:56:55.007Z
Answers.LastActivityDate: 2015-12-19T00:36:35.250Z
Answers.LastEditDate: 2015-12-19T00:36:35.250Z
Answers.UserDisplayName: Kboy
Body: <p>I am looking to sync CiviCRM Contacts with a content type in Drupal. Basically, I need to relate the contact information, via a 'person' content type, to other entities in Drupal(content types, taxonomies, files, etc). Also need to have it smoothly integrate with SearchAPI/FacetAPI, which having the information synced to a Drupal content type would give me. So far all I can seem to find is information covering how to sync contacts from CiviCRM to 'users' in Drupal, which I do not want to do.</p>
  
  <p>At first, it seemed as though the CiviCRM entity module would work(<a href="https://www.drupal.org/project/civicrm_entity" rel="nofollow noreferrer">https://www.drupal.org/project/civicrm_entity</a>), but I don't see an obvious way to add Drupal fields to CiviCRM entities on the Drupal side. </p>
  
  <p>--edit--</p>
  
  <p>Apologies, I should clarify. I do not need to push any data from Drupal to CiviCRM in this case. I just need to make sure that my 'person' records in Drupal are linked to 'contact' records in CiviCRM in such a way as the person's contact fields in Drupal(first name, last name, email, address, etc) are synced to grab the most recent data from their CiviCRM 'contact' field counterparts. The views integration is great and is working for displaying data from CiviCRM entities, no problems there. What I need is the glue for grabbing the contact field data from CiviCRM into a Drupal content type.  Looking into services to see if it will fit for this, thank you.</p>
  
Tags: <drupal><contacts><entity-reference>
Title: How to sync CiviCRM contacts with a Drupal content type
ThreadText: # How to sync CiviCRM contacts with a Drupal content type
  
  (Asked by: username_0 on 2015-12-18)
  
  I am looking to sync CiviCRM Contacts with a content type in Drupal. Basically, I need to relate the contact information, via a 'person' content type, to other entities in Drupal(content types, taxonomies, files, etc). Also need to have it smoothly integrate with SearchAPI/FacetAPI, which having the information synced to a Drupal content type would give me. So far all I can seem to find is information covering how to sync contacts from CiviCRM to 'users' in Drupal, which I do not want to do.
  
  At first, it seemed as though the CiviCRM entity module would work(<https://www.drupal.org/project/civicrm_entity>), but I don't see an obvious way to add Drupal fields to CiviCRM entities on the Drupal side.
  
  --edit--
  
  Apologies, I should clarify. I do not need to push any data from Drupal to CiviCRM in this case. I just need to make sure that my 'person' records in Drupal are linked to 'contact' records in CiviCRM in such a way as the person's contact fields in Drupal(first name, last name, email, address, etc) are synced to grab the most recent data from their CiviCRM 'contact' field counterparts. The views integration is great and is working for displaying data from CiviCRM entities, no problems there. What I need is the glue for grabbing the contact field data from CiviCRM into a Drupal content type. Looking into services to see if it will fit for this, thank you.
  
  **Tags:** drupal, contacts, entity-reference
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-12-19. Score: 1 | Accepted answer
  
  It depends what you are after. You can use CiviCRM Contact Reference Field and this gives you a field on Node that you can then pull in the civi data. Having done that you can then pull in other civi data to that node via Views. You can see an example of this in action [here](https://europeangreens.eu/parties/b%C3%BCndnis-90die-gr%C3%BCnen) where the Node is the Party, there is a reference field on that node to the Party contact in civi - and then the info about the Party eg Contact details are pulled on the page via Views using a Context Filter for 'nid from current node).
  
  Then the MPs in the list lower on the page are pulled in because they have a Civi relationship to the Party ;-)
  
  The Leaders on the other hand are 'node referenced' to the party in Drupal.
  And if you click through to a [Leader page](https://europeangreens.eu/people/cem-%C3%B6zdemir) you get the same deal. The MP page has 'civi reference' field to the MP civi contact. And all the other blocks are pulling in data eg Nodes that are node referencing back to this node.
  
  Hope that gives you some ideas and partially answers your question.
  
  
  ---
  
  ### Answer by username_2 on 2015-12-18. Score: 0
  
  I've also edited my answer,
  Drupal services module <https://www.drupal.org/project/services> will do the trick for smooth integration with SearchAPI/FacetAPI.
  
  
  ---
  
  