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) »
  • Address Fields
Pages: [1]

Author Topic: Address Fields  (Read 689 times)

MKorostoff

  • Guest
Address Fields
June 23, 2009, 10:34:10 pm
Hello Friends,

I'm trying to get my head around the address handling so that I can use it more effectively.  I notice that when you go to Administer CiviCRM > Global Settings > Address Settings, there are a series of check boxes for the address fields including "House #" and "Street" (as opposed to a single plain-text field called "Address").  That's a really smart configuration, but that configuration doesn't actually seem to be implemented anywhere that I can see--the "New Individual" screen uses a single field, so does the search.  There's no ability to export those two fields separately, nor is their an ability to map them to different fields when importing, nor is their an ability to add one but not another to a profile.  So other than that check box in Global Settings, the House #/Street distinction is made anywhere in Civi.

So am I missing something here?  If Civi is capable of making that distinction, where is it implemented?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Address Fields
June 23, 2009, 11:53:39 pm

i dont see House # or Street here:

http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/address?reset=1

not sure where u see it.

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

MKorostoff

  • Guest
Re: Address Fields
June 24, 2009, 07:54:37 am
Screen cap here.  Possible that one of my colleagues hacked up the code to create that display without telling me--hadn't even considered that possibility.

Anyway, separate house #/street name fields would be useful in future versions.  When we canvas, we produce walk lists sorted by street, and then subsorted by house number.  If the address is just a plain text field, it's pretty hard to do that (not impossible, just hard).  Right now, we have "house #" and "Street" set as custom fields, and when we get around to it we're going to set them to autopopulate the built in address fields as to take advantage of the built in mapping/geocoding.

Cheers,
Matt

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Address Fields
June 24, 2009, 11:37:52 am
Matt - the schema has "built-in" support for storing house #, street name, street directional etc. in separate columns (see civicrm_address table). The intent was precisely to provide that granularity for walk-lists and similar functionality - however the application and UI layers have not been built.

If your org is already doing some coding to support this type of functionality - it might make more sense to look at using the core schema fields (rather than custom fields). and figuring out / implementing a generalized approach for handling this requirement (e.g. possibly a parsing routine to take street_address input and divide into it's pieces")? This could then be quite useful to other CiviCRM users.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Address Fields

This forum was archived on 2017-11-26.