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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Hook duplicates dedupe checking
Pages: [1]

Author Topic: Hook duplicates dedupe checking  (Read 935 times)

jsherk

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 0
Hook duplicates dedupe checking
April 26, 2010, 02:08:27 pm
I would like to propose a hook for dedupes ... probably would get called just before any dedupe is checked, and would then allow you to do your own custom dedupe checking, and then choose whether the original dedupe check should continue or be aborted.

There are some dedupe functions called from CRM/Profiles, but I haven't looked much further than that.

Anybody know where all the dedupe related functions are?

And what about hooks? Pointing to some specific files and functions would helpful for if anybody knows where!

Thanks

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Hook duplicates dedupe checking
May 14, 2010, 04:18:54 am
Can imagine two things being useful:

1) Being able to change the dedupe being called (eg. not using the strict default dedupe but another one on a specific civicrm_contact_create with check_dedupe)
2) Being able to do more advanced rules than what you can set via the the admin interface (eg dedupe the name of the organisation against the legal name or the nickname too)

To my knowledge, no hooks yet for that.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Hook duplicates dedupe checking

This forum was archived on 2017-11-26.