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 CiviMember (Moderator: Deepak Srivastava) »
  • Getting external data into membership records
Pages: [1]

Author Topic: Getting external data into membership records  (Read 659 times)

lee.uk

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.1.63
  • PHP version: 5.2.17
Getting external data into membership records
June 14, 2012, 03:54:00 pm
Hi. 

When a member is added or updated, I would like to pass the post code to an external API to populate a new "constituency" field and store this in the member record.

I have the details of the external API, but is this something which is achieveable through perhaps a profile setup, or would I have to delve into the code?

If I need to code, any idea which file I would need to look at?

Any assistance most welcome. Thank you. 


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Getting external data into membership records
June 15, 2012, 03:51:36 am
See hook_civicrm_postProcess
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

lee.uk

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.1.63
  • PHP version: 5.2.17
Re: Getting external data into membership records
June 15, 2012, 04:03:39 am
Thanks, that gives me a good start

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Getting external data into membership records

This forum was archived on 2017-11-26.