4

I currently have a Drupal View Displaying the current user and his/her spouse (AKA Drupal User and CiviCRM Contact B) For some reason it will only Display the Drupal User and spouse if the spousal relationship was created from the Drupal User's CiviCRM contact profile. If the spousal relationship was created from Contact B's CiviCRM profile, then nothing is displayed. Is there a way to get this working regardless where the relationship was added?

enter image description hereenter image description here

2 Answers 2

4

You need to add the relationship from the contact ID B?

2
  • I tried that and it didn't work.
    – Yossi
    Commented Sep 8, 2016 at 9:07
  • 3
    I see this has been down voted but it does sound like you need to add a second pair of Relationships to cover the situation of your user being 'contact B'.
    – petednz - fuzion
    Commented Sep 9, 2016 at 10:16
-1

Are the relationships permissioned? Your users probably can only see their spouses if it's a permissioned relationship, and perhaps when the relationship is bring created the second way it isn't being created in such a way that it is permissioned.

4
  • 1
    Views doesn't 'know' about permissioned relationships, so while this is something to consider in CiviCRM and webforms it doesn't (yet) affect Views.
    – petednz - fuzion
    Commented Sep 9, 2016 at 10:17
  • 1
    Ah, good to know :) Sorry then, that's not the answer.
    – naomisl
    Commented Sep 9, 2016 at 14:48
  • 1
    That is too bad. I have a situation where it would be VERY helpful. Commented Mar 22, 2017 at 3:39
  • 1
    The company I worked for has patched this now. issues.civicrm.org/jira/browse/CRM-20319 Commented Mar 22, 2017 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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