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?
2 Answers
You need to add the relationship from the contact ID B?
-
-
3I 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
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.
-
1Views 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
-
1That is too bad. I have a situation where it would be VERY helpful. Commented Mar 22, 2017 at 3:39
-
1The company I worked for has patched this now. issues.civicrm.org/jira/browse/CRM-20319 Commented Mar 22, 2017 at 16:32