1

I have over 50,000 contacts that I would like to batch-edit with the same contact "source" information. What is the best way to do this?

2

Personally I'd write a tiny php script but you could use the api explorer under civicrm/api:

  1. Chose entity contact and action get
  2. Add your search criteria
  3. Add option "limit" to something high enough (Defaults to 25) or combine with option "offset"
  4. Hit "chain api call"
  5. Chose entity contact and action create
  6. Enter json like "{source: 'your source'}"
  7. Run

You could test it with one contact by adding it's id in the get criteria.

  • Christia, did you figure it out? – nielo Oct 11 '16 at 8:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.