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) »
  • Adding a relationship automatically sets "Share Address With"....
Pages: [1]

Author Topic: Adding a relationship automatically sets "Share Address With"....  (Read 700 times)

TheEdge

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.3.4
  • MySQL version: 5.6.17
  • PHP version: 5.4.32
Adding a relationship automatically sets "Share Address With"....
September 06, 2011, 03:09:50 am
G'Day,

- CiviCRM 4.0.5

I was wondering if it was possible to automatically set the "Share Address With" to the organisation when I add a relationship to a contact where that relationship is employee? Currently I have to remember to set the "Share Address With" which is error prone and inconsistent.

TIA

--D

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Adding a relationship automatically sets "Share Address With"....
September 06, 2011, 06:37:07 am
Not by default, but that's a good idea.

You could develop a simple module that automatically sets the shared address (using the pre hook) when there is a current employer. If you write it, please share it, I'm sure others could benefit from it.

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Adding a relationship automatically sets "Share Address With"....
October 30, 2011, 08:21:17 pm
Just a note - if you do it the other way around - sharing an address with an organisation (for better or worse) automatically creates a current employer relationship
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Adding a relationship automatically sets "Share Address With"....

This forum was archived on 2017-11-26.