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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Update greetings script, question about force=1 parameter
Pages: [1]

Author Topic: Update greetings script, question about force=1 parameter  (Read 203 times)

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Update greetings script, question about force=1 parameter
November 13, 2014, 11:11:39 am
 http://wiki.civicrm.org/confluence/display/CRMDOC/Update+Greetings+and+Address+Data+for+Contacts

Question: On that wiki page, it says "Contacts whose greetings are NULL will not be updated unless the force=1 argument is passed".  I **think** the situation is actually the opposite.  That is, if force=0 (or force= is omitted) then ONLY contacts whose greetings are NULL will be updated.

If you set force=1, then ALL contacts will be updated regardless of whether the greeting is NULL or not.

Can anyone verify that is the case?

I just edited the warning on the wiki page linked above to read:

Quote
If the force=1 argument is passed, greeting data will be updated/overwritten for ALL contacts, overwriting any current values for that data.

Just wanted to verify that is correct!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Update greetings script, question about force=1 parameter

This forum was archived on 2017-11-26.