Answers.Body: <p>Import the relationship SK from the searchkit UI</p>
  <pre><code>    [
    [
      &quot;SavedSearch&quot;,
      &quot;save&quot;,
      {
        &quot;records&quot;: [
          {
            &quot;name&quot;: &quot;Contact_Summary_Relationships&quot;,
            &quot;label&quot;: &quot;Contact Summary Relationships&quot;,
            &quot;api_entity&quot;: &quot;RelationshipCache&quot;,
            &quot;api_params&quot;: {
              &quot;version&quot;: 4,
              &quot;select&quot;: [
                &quot;near_relation:label&quot;,
                &quot;RelationshipCache_Contact_far_contact_id_01.display_name&quot;,
                &quot;start_date&quot;,
                &quot;end_date&quot;,
                &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.city&quot;,
                &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label&quot;,
                &quot;RelationshipCache_Contact_far_contact_id_01.email_primary.email&quot;,
                &quot;RelationshipCache_Contact_far_contact_id_01.phone_primary.phone&quot;,
                &quot;permission_near_to_far:label&quot;,
                &quot;permission_far_to_near:label&quot;,
                &quot;is_active&quot;
              ],
              &quot;orderBy&quot;: [],
              &quot;where&quot;: [],
              &quot;groupBy&quot;: [],
              &quot;join&quot;: [
                [
                  &quot;Contact AS RelationshipCache_Contact_far_contact_id_01&quot;,
                  &quot;LEFT&quot;,
                  [
                    &quot;far_contact_id&quot;,
                    &quot;=&quot;,
                    &quot;RelationshipCache_Contact_far_contact_id_01.id&quot;
                  ]
                ],
                [
                  &quot;Case AS RelationshipCache_Case_case_id_01&quot;,
                  &quot;LEFT&quot;,
                  [
                    &quot;case_id&quot;,
                    &quot;=&quot;,
                    &quot;RelationshipCache_Case_case_id_01.id&quot;
                  ]
                ]
              ],
              &quot;having&quot;: []
            }
          }
        ],
        &quot;match&quot;: [
          &quot;name&quot;
        ]
      }
    ],
    [
      &quot;SearchDisplay&quot;,
      &quot;save&quot;,
      {
        &quot;records&quot;: [
          {
            &quot;name&quot;: &quot;Contact_Summary_Relationships_Active&quot;,
            &quot;label&quot;: &quot;Contact Summary Relationships Active&quot;,
            &quot;saved_search_id.name&quot;: &quot;Contact_Summary_Relationships&quot;,
            &quot;type&quot;: &quot;table&quot;,
            &quot;settings&quot;: {
              &quot;description&quot;: null,
              &quot;sort&quot;: [],
              &quot;limit&quot;: 50,
              &quot;pager&quot;: {
                &quot;hide_single&quot;: true,
                &quot;expose_limit&quot;: true
              },
              &quot;placeholder&quot;: 5,
              &quot;columns&quot;: [
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;near_relation:label&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Relationship&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;field&quot;: &quot;permission_far_to_near:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    }
                  ]
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.display_name&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;With&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;field&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.contact_sub_type:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    },
                    {
                      &quot;field&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.contact_type:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    },
                    {
                      &quot;field&quot;: &quot;permission_near_to_far:icon&quot;,
                      &quot;side&quot;: &quot;right&quot;
                    }
                  ],
                  &quot;link&quot;: {
                    &quot;path&quot;: &quot;&quot;,
                    &quot;entity&quot;: &quot;Contact&quot;,
                    &quot;action&quot;: &quot;view&quot;,
                    &quot;join&quot;: &quot;RelationshipCache_Contact_far_contact_id_01&quot;,
                    &quot;target&quot;: &quot;_blank&quot;
                  },
                  &quot;title&quot;: &quot;View Related Contact&quot;
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;start_date&quot;,
                  &quot;dataType&quot;: &quot;Date&quot;,
                  &quot;label&quot;: &quot;Dates&quot;,
                  &quot;sortable&quot;: true,
                  &quot;rewrite&quot;: &quot;[start_date] - [end_date]&quot;
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.city&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;City&quot;,
                  &quot;sortable&quot;: true
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label&quot;,
                  &quot;dataType&quot;: &quot;Integer&quot;,
                  &quot;label&quot;: &quot;State/Prov&quot;,
                  &quot;sortable&quot;: true
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.email_primary.email&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Email&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;icon&quot;: &quot;fa-ban&quot;,
                      &quot;side&quot;: &quot;left&quot;,
                      &quot;if&quot;: [
                        &quot;RelationshipCache_Contact_far_contact_id_01.do_not_email&quot;,
                        &quot;=&quot;,
                        true
                      ]
                    }
                  ]
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.phone_primary.phone&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Phone&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;icon&quot;: &quot;fa-ban&quot;,
                      &quot;side&quot;: &quot;left&quot;,
                      &quot;if&quot;: [
                        &quot;RelationshipCache_Contact_far_contact_id_01.do_not_phone&quot;,
                        &quot;=&quot;,
                        true
                      ]
                    }
                  ]
                },
                {
                  &quot;text&quot;: &quot;&quot;,
                  &quot;style&quot;: &quot;default&quot;,
                  &quot;size&quot;: &quot;btn-xs&quot;,
                  &quot;icon&quot;: &quot;fa-bars&quot;,
                  &quot;links&quot;: [
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;view&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-external-link&quot;,
                      &quot;text&quot;: &quot;View Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    },
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;update&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-pencil&quot;,
                      &quot;text&quot;: &quot;Update Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    },
                    {
                      &quot;task&quot;: &quot;disable&quot;,
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-toggle-off&quot;,
                      &quot;text&quot;: &quot;Disable Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;action&quot;: &quot;&quot;,
                      &quot;condition&quot;: [
                        &quot;is_active&quot;,
                        &quot;=&quot;,
                        true
                      ]
                    },
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;delete&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-trash&quot;,
                      &quot;text&quot;: &quot;Delete Relationship&quot;,
                      &quot;style&quot;: &quot;danger&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    },
                    {
                      &quot;entity&quot;: &quot;Case&quot;,
                      &quot;action&quot;: &quot;view&quot;,
                      &quot;join&quot;: &quot;RelationshipCache_Case_case_id_01&quot;,
                      &quot;target&quot;: &quot;&quot;,
                      &quot;icon&quot;: &quot;fa-folder-open&quot;,
                      &quot;text&quot;: &quot;Manage Case&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;condition&quot;: []
                    }
                  ],
                  &quot;type&quot;: &quot;menu&quot;,
                  &quot;alignment&quot;: &quot;text-right&quot;
                }
              ],
              &quot;actions&quot;: false,
              &quot;classes&quot;: [
                &quot;table&quot;,
                &quot;table-striped&quot;
              ],
              &quot;toolbar&quot;: [
                {
                  &quot;action&quot;: &quot;add&quot;,
                  &quot;entity&quot;: &quot;Relationship&quot;,
                  &quot;text&quot;: &quot;Add Relationship&quot;,
                  &quot;icon&quot;: &quot;fa-plus&quot;,
                  &quot;style&quot;: &quot;primary&quot;,
                  &quot;target&quot;: &quot;crm-popup&quot;,
                  &quot;join&quot;: &quot;&quot;,
                  &quot;path&quot;: &quot;&quot;,
                  &quot;task&quot;: &quot;&quot;,
                  &quot;condition&quot;: []
                }
              ]
            }
          },
          {
            &quot;name&quot;: &quot;Contact_Summary_Relationships_Inactive&quot;,
            &quot;label&quot;: &quot;Contact Summary Relationships Inactive&quot;,
            &quot;saved_search_id.name&quot;: &quot;Contact_Summary_Relationships&quot;,
            &quot;type&quot;: &quot;table&quot;,
            &quot;settings&quot;: {
              &quot;description&quot;: &quot;These relationships are Disabled OR have a past End Date.&quot;,
              &quot;sort&quot;: [],
              &quot;limit&quot;: 50,
              &quot;pager&quot;: {
                &quot;hide_single&quot;: true,
                &quot;expose_limit&quot;: true
              },
              &quot;placeholder&quot;: 5,
              &quot;columns&quot;: [
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;near_relation:label&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Relationship&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;field&quot;: &quot;permission_far_to_near:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    }
                  ]
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.display_name&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;With&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;field&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.contact_sub_type:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    },
                    {
                      &quot;field&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.contact_type:icon&quot;,
                      &quot;side&quot;: &quot;left&quot;
                    },
                    {
                      &quot;field&quot;: &quot;permission_near_to_far:icon&quot;,
                      &quot;side&quot;: &quot;right&quot;
                    }
                  ],
                  &quot;link&quot;: {
                    &quot;path&quot;: &quot;&quot;,
                    &quot;entity&quot;: &quot;Contact&quot;,
                    &quot;action&quot;: &quot;view&quot;,
                    &quot;join&quot;: &quot;RelationshipCache_Contact_far_contact_id_01&quot;,
                    &quot;target&quot;: &quot;_blank&quot;
                  },
                  &quot;title&quot;: &quot;View Related Contact&quot;
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;start_date&quot;,
                  &quot;dataType&quot;: &quot;Date&quot;,
                  &quot;label&quot;: &quot;Dates&quot;,
                  &quot;sortable&quot;: true,
                  &quot;rewrite&quot;: &quot;[start_date] - [end_date]&quot;
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.city&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;City&quot;,
                  &quot;sortable&quot;: true
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label&quot;,
                  &quot;dataType&quot;: &quot;Integer&quot;,
                  &quot;label&quot;: &quot;State/Prov&quot;,
                  &quot;sortable&quot;: true
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.email_primary.email&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Email&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;icon&quot;: &quot;fa-ban&quot;,
                      &quot;side&quot;: &quot;left&quot;,
                      &quot;if&quot;: [
                        &quot;RelationshipCache_Contact_far_contact_id_01.do_not_email&quot;,
                        &quot;=&quot;,
                        true
                      ]
                    }
                  ]
                },
                {
                  &quot;type&quot;: &quot;field&quot;,
                  &quot;key&quot;: &quot;RelationshipCache_Contact_far_contact_id_01.phone_primary.phone&quot;,
                  &quot;dataType&quot;: &quot;String&quot;,
                  &quot;label&quot;: &quot;Phone&quot;,
                  &quot;sortable&quot;: true,
                  &quot;icons&quot;: [
                    {
                      &quot;icon&quot;: &quot;fa-ban&quot;,
                      &quot;side&quot;: &quot;left&quot;,
                      &quot;if&quot;: [
                        &quot;RelationshipCache_Contact_far_contact_id_01.do_not_phone&quot;,
                        &quot;=&quot;,
                        true
                      ]
                    }
                  ]
                },
                {
                  &quot;text&quot;: &quot;&quot;,
                  &quot;style&quot;: &quot;default&quot;,
                  &quot;size&quot;: &quot;btn-xs&quot;,
                  &quot;icon&quot;: &quot;fa-bars&quot;,
                  &quot;links&quot;: [
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;view&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-external-link&quot;,
                      &quot;text&quot;: &quot;View Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    },
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;update&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-pencil&quot;,
                      &quot;text&quot;: &quot;Update Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    },
                    {
                      &quot;task&quot;: &quot;enable&quot;,
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-toggle-on&quot;,
                      &quot;text&quot;: &quot;Enable Relationship&quot;,
                      &quot;style&quot;: &quot;default&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;action&quot;: &quot;&quot;,
                      &quot;condition&quot;: [
                        &quot;is_active&quot;,
                        &quot;=&quot;,
                        false
                      ]
                    },
                    {
                      &quot;entity&quot;: &quot;Relationship&quot;,
                      &quot;action&quot;: &quot;delete&quot;,
                      &quot;join&quot;: &quot;&quot;,
                      &quot;target&quot;: &quot;crm-popup&quot;,
                      &quot;icon&quot;: &quot;fa-trash&quot;,
                      &quot;text&quot;: &quot;Delete Relationship&quot;,
                      &quot;style&quot;: &quot;danger&quot;,
                      &quot;path&quot;: &quot;&quot;,
                      &quot;task&quot;: &quot;&quot;,
                      &quot;condition&quot;: []
                    }
                  ],
                  &quot;type&quot;: &quot;menu&quot;,
                  &quot;alignment&quot;: &quot;text-right&quot;
                }
              ],
              &quot;actions&quot;: false,
              &quot;classes&quot;: [
                &quot;table&quot;,
                &quot;table-striped&quot;,
                &quot;disabled&quot;
              ]
            }
          }
        ],
        &quot;match&quot;: [
          &quot;saved_search_id&quot;,
          &quot;name&quot;
        ]
      }
    ],
    [
      &quot;Afform&quot;,
      &quot;save&quot;,
      {
        &quot;records&quot;: [
          {
            &quot;type&quot;: &quot;search&quot;,
            &quot;title&quot;: &quot;Relationships&quot;,
            &quot;permission&quot;: [
              &quot;access CiviCRM&quot;
            ],
            &quot;placement&quot;: [
              &quot;contact_summary_tab&quot;
            ],
            &quot;icon&quot;: &quot;fa-handshake-o&quot;,
            &quot;summary_weight&quot;: 80,
            &quot;permission_operator&quot;: &quot;AND&quot;,
            &quot;layout&quot;: &quot;&lt;div af-fieldset=\&quot;\&quot;&gt;\n  &lt;div class=\&quot;alert alert-warning\&quot;&gt;\n    &lt;strong&gt;{{:: ts('Permissioned Relationships:') }}&lt;/strong&gt;\n    &lt;i class=\&quot;crm-i fa-eye\&quot;&gt;&lt;/i&gt; {{:: ts('This contact can be viewed by the other.') }}\n    &lt;i class=\&quot;crm-i fa-pencil-square\&quot;&gt;&lt;/i&gt; {{:: ts('This contact can be viewed and edited by the other.') }}\n  &lt;/div&gt;\n  &lt;crm-search-display-table search-name=\&quot;Contact_Summary_Relationships\&quot; display-name=\&quot;Contact_Summary_Relationships_Active\&quot; filters=\&quot;{near_contact_id: options.contact_id, is_current: true}\&quot;&gt;&lt;/crm-search-display-table&gt;\n  &lt;crm-search-display-table search-name=\&quot;Contact_Summary_Relationships\&quot; display-name=\&quot;Contact_Summary_Relationships_Inactive\&quot; filters=\&quot;{near_contact_id: options.contact_id, is_current: false}\&quot;&gt;&lt;/crm-search-display-table&gt;\n&lt;/div&gt;\n&quot;,
            &quot;name&quot;: &quot;afsearchTabRel&quot;,
            &quot;modified_date&quot;: &quot;2023-11-30 15:10:47&quot;,
            &quot;requires&quot;: null,
            &quot;entity_type&quot;: null,
            &quot;join_entity&quot;: null,
            &quot;description&quot;: null,
            &quot;summary_contact_type&quot;: null,
            &quot;server_route&quot;: null,
            &quot;is_public&quot;: false,
            &quot;redirect&quot;: null,
            &quot;submit_enabled&quot;: true,
            &quot;submit_limit&quot;: null,
            &quot;create_submission&quot;: null,
            &quot;navigation&quot;: null
          }
        ]
      }
    ]
  ]
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-30T16:39:16.117Z
Answers.Text: Thanks Coleman , that has worked!
Answers.UserDisplayName: Paul Butler
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-30T16:13:29.207Z
Answers.LastActivityDate: 2023-11-30T16:13:29.207Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I deleted my previous post because I am now seeing different behaviour. When looking at a contact record I selection relationships and see this:</p>
  <p><a href="https://i.sstatic.net/zuzZ7.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zuzZ7.jpg" alt="enter image description here" /></a></p>
  <p>I know this contact has multiple relationships but they just don't show here. I added a new relationship , the database tables were updated (I checked) but the relationship doesn't show.</p>
  <p>Same for notes as well. I can see no errors being generated at all but it looks , to me with my naive view at the moment, that possibly permissions are not matching?</p>
  <p>Any clues</p>
  <p>I am running Joomla 4.4.1 , PHP 8.1 and CiviCRM 5.67.2</p>
  <p>Edit</p>
  <p>I started to look in FormBuilder and have noticed this</p>
  <p><a href="https://i.sstatic.net/CGuHt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/CGuHt.jpg" alt="enter image description here" /></a></p>
  <p>See next to the Form Settings all I am getting is a spinning wheel. If I try to create a new form that give me the option to Find Contacts. Is this showing that maybe this report is corrupt in some way?</p>
  <p>I have another test instance and went to look in there and see this:</p>
  <p><a href="https://i.sstatic.net/tM7bY.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tM7bY.jpg" alt="enter image description here" /></a></p>
  <p>You can clearly see where it shows &quot;Contacts Summary Relationships Active&quot; in the spot where I have the &quot;spinning wheel&quot;. What is causing that?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T15:30:42.883Z
Comments.Text: If you look in the browser console does it have any errors.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T15:32:45.650Z
Comments.Text: @Demerit , none that are obvious
Comments.UserDisplayName: Paul Butler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T15:39:07.443Z
Comments.Text: Are you logged in as user 1 or administrator user?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T15:43:13.847Z
Comments.Text: Super user Pradeep
Comments.UserDisplayName: Paul Butler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T15:59:16.517Z
Comments.Text: You can rule out permissions errors, because the problem is that the display is not rendering. It looks to me like the search displays might be completely missing, based on your second screenshot. Can you open SearchKit and click on "Packaged Searches" - look for a search named "Contact Summary Relationships" with 2 displays. Is it there?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-30T16:03:44.530Z
Comments.Text: Thanks Coleman , it's not there. When I look in my other site it is there. How do I restore that report back?
Comments.UserDisplayName: Paul Butler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-06T07:50:00.680Z
Comments.Text: I had the same problem when upgrading to 5.67.x (can't remember which one exactly). I managed to fix it by upgrading again to the next version (it wasn't noticed straight away). Seems like this may be a bug? I also noticed that the display styling had been modified in the updated version.
Comments.UserDisplayName: Ben
Tags: <relationships>
Title: Relationships not being displayed
ThreadText: # Relationships not being displayed
  
  (Asked by: username_0 on 2023-11-30)
  
  I deleted my previous post because I am now seeing different behaviour. When looking at a contact record I selection relationships and see this:
  
  [![enter image description here](https://i.sstatic.net/zuzZ7.jpg)](https://i.sstatic.net/zuzZ7.jpg)
  
  I know this contact has multiple relationships but they just don't show here. I added a new relationship , the database tables were updated (I checked) but the relationship doesn't show.
  
  Same for notes as well. I can see no errors being generated at all but it looks , to me with my naive view at the moment, that possibly permissions are not matching?
  
  Any clues
  
  I am running Joomla 4.4.1 , PHP 8.1 and CiviCRM 5.67.2
  
  Edit
  
  I started to look in FormBuilder and have noticed this
  
  [![enter image description here](https://i.sstatic.net/CGuHt.jpg)](https://i.sstatic.net/CGuHt.jpg)
  
  See next to the Form Settings all I am getting is a spinning wheel. If I try to create a new form that give me the option to Find Contacts. Is this showing that maybe this report is corrupt in some way?
  
  I have another test instance and went to look in there and see this:
  
  [![enter image description here](https://i.sstatic.net/tM7bY.jpg)](https://i.sstatic.net/tM7bY.jpg)
  
  You can clearly see where it shows "Contacts Summary Relationships Active" in the spot where I have the "spinning wheel". What is causing that?
  
  **Tags:** relationships
  
  > **Comments:**
  > **username_1**: If you look in the browser console does it have any errors.  
  > **username_0**: @username_1 , none that are obvious  
  > **username_2**: Are you logged in as user 1 or administrator user?  
  > **username_0**: Super user Pradeep  
  > **username_3**: You can rule out permissions errors, because the problem is that the display is not rendering. It looks to me like the search displays might be completely missing, based on your second screenshot. Can you open SearchKit and click on "Packaged Searches" - look for a search named "Contact Summary Relationships" with 2 displays. Is it there?  
  > **username_0**: Thanks username_3 , it's not there. When I look in my other site it is there. How do I restore that report back?  
  > **username_4**: I had the same problem when upgrading to 5.67.x (can't remember which one exactly). I managed to fix it by upgrading again to the next version (it wasn't noticed straight away). Seems like this may be a bug? I also noticed that the display styling had been modified in the updated version.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-11-30. Score: 1 | Accepted answer
  
  Import the relationship SK from the searchkit UI
      [
    [
      "SavedSearch",
      "save",
      {
        "records": [
          {
            "name": "Contact_Summary_Relationships",
            "label": "Contact Summary Relationships",
            "api_entity": "RelationshipCache",
            "api_params": {
              "version": 4,
              "select": [
                "near_relation:label",
                "RelationshipCache_Contact_far_contact_id_01.display_name",
                "start_date",
                "end_date",
                "RelationshipCache_Contact_far_contact_id_01.address_primary.city",
                "RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label",
                "RelationshipCache_Contact_far_contact_id_01.email_primary.email",
                "RelationshipCache_Contact_far_contact_id_01.phone_primary.phone",
                "permission_near_to_far:label",
                "permission_far_to_near:label",
                "is_active"
              ],
              "orderBy": [],
              "where": [],
              "groupBy": [],
              "join": [
                [
                  "Contact AS RelationshipCache_Contact_far_contact_id_01",
                  "LEFT",
                  [
                    "far_contact_id",
                    "=",
                    "RelationshipCache_Contact_far_contact_id_01.id"
                  ]
                ],
                [
                  "Case AS RelationshipCache_Case_case_id_01",
                  "LEFT",
                  [
                    "case_id",
                    "=",
                    "RelationshipCache_Case_case_id_01.id"
                  ]
                ]
              ],
              "having": []
            }
          }
        ],
        "match": [
          "name"
        ]
      }
    ],
    [
      "SearchDisplay",
      "save",
      {
        "records": [
          {
            "name": "Contact_Summary_Relationships_Active",
            "label": "Contact Summary Relationships Active",
            "saved_search_id.name": "Contact_Summary_Relationships",
            "type": "table",
            "settings": {
              "description": null,
              "sort": [],
              "limit": 50,
              "pager": {
                "hide_single": true,
                "expose_limit": true
              },
              "placeholder": 5,
              "columns": [
                {
                  "type": "field",
                  "key": "near_relation:label",
                  "dataType": "String",
                  "label": "Relationship",
                  "sortable": true,
                  "icons": [
                    {
                      "field": "permission_far_to_near:icon",
                      "side": "left"
                    }
                  ]
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.display_name",
                  "dataType": "String",
                  "label": "With",
                  "sortable": true,
                  "icons": [
                    {
                      "field": "RelationshipCache_Contact_far_contact_id_01.contact_sub_type:icon",
                      "side": "left"
                    },
                    {
                      "field": "RelationshipCache_Contact_far_contact_id_01.contact_type:icon",
                      "side": "left"
                    },
                    {
                      "field": "permission_near_to_far:icon",
                      "side": "right"
                    }
                  ],
                  "link": {
                    "path": "",
                    "entity": "Contact",
                    "action": "view",
                    "join": "RelationshipCache_Contact_far_contact_id_01",
                    "target": "_blank"
                  },
                  "title": "View Related Contact"
                },
                {
                  "type": "field",
                  "key": "start_date",
                  "dataType": "Date",
                  "label": "Dates",
                  "sortable": true,
                  "rewrite": "[start_date] - [end_date]"
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.address_primary.city",
                  "dataType": "String",
                  "label": "City",
                  "sortable": true
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label",
                  "dataType": "Integer",
                  "label": "State/Prov",
                  "sortable": true
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.email_primary.email",
                  "dataType": "String",
                  "label": "Email",
                  "sortable": true,
                  "icons": [
                    {
                      "icon": "fa-ban",
                      "side": "left",
                      "if": [
                        "RelationshipCache_Contact_far_contact_id_01.do_not_email",
                        "=",
                        true
                      ]
                    }
                  ]
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.phone_primary.phone",
                  "dataType": "String",
                  "label": "Phone",
                  "sortable": true,
                  "icons": [
                    {
                      "icon": "fa-ban",
                      "side": "left",
                      "if": [
                        "RelationshipCache_Contact_far_contact_id_01.do_not_phone",
                        "=",
                        true
                      ]
                    }
                  ]
                },
                {
                  "text": "",
                  "style": "default",
                  "size": "btn-xs",
                  "icon": "fa-bars",
                  "links": [
                    {
                      "entity": "Relationship",
                      "action": "view",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-external-link",
                      "text": "View Relationship",
                      "style": "default",
                      "path": "",
                      "task": "",
                      "condition": []
                    },
                    {
                      "entity": "Relationship",
                      "action": "update",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-pencil",
                      "text": "Update Relationship",
                      "style": "default",
                      "path": "",
                      "task": "",
                      "condition": []
                    },
                    {
                      "task": "disable",
                      "entity": "Relationship",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-toggle-off",
                      "text": "Disable Relationship",
                      "style": "default",
                      "path": "",
                      "action": "",
                      "condition": [
                        "is_active",
                        "=",
                        true
                      ]
                    },
                    {
                      "entity": "Relationship",
                      "action": "delete",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-trash",
                      "text": "Delete Relationship",
                      "style": "danger",
                      "path": "",
                      "task": "",
                      "condition": []
                    },
                    {
                      "entity": "Case",
                      "action": "view",
                      "join": "RelationshipCache_Case_case_id_01",
                      "target": "",
                      "icon": "fa-folder-open",
                      "text": "Manage Case",
                      "style": "default",
                      "condition": []
                    }
                  ],
                  "type": "menu",
                  "alignment": "text-right"
                }
              ],
              "actions": false,
              "classes": [
                "table",
                "table-striped"
              ],
              "toolbar": [
                {
                  "action": "add",
                  "entity": "Relationship",
                  "text": "Add Relationship",
                  "icon": "fa-plus",
                  "style": "primary",
                  "target": "crm-popup",
                  "join": "",
                  "path": "",
                  "task": "",
                  "condition": []
                }
              ]
            }
          },
          {
            "name": "Contact_Summary_Relationships_Inactive",
            "label": "Contact Summary Relationships Inactive",
            "saved_search_id.name": "Contact_Summary_Relationships",
            "type": "table",
            "settings": {
              "description": "These relationships are Disabled OR have a past End Date.",
              "sort": [],
              "limit": 50,
              "pager": {
                "hide_single": true,
                "expose_limit": true
              },
              "placeholder": 5,
              "columns": [
                {
                  "type": "field",
                  "key": "near_relation:label",
                  "dataType": "String",
                  "label": "Relationship",
                  "sortable": true,
                  "icons": [
                    {
                      "field": "permission_far_to_near:icon",
                      "side": "left"
                    }
                  ]
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.display_name",
                  "dataType": "String",
                  "label": "With",
                  "sortable": true,
                  "icons": [
                    {
                      "field": "RelationshipCache_Contact_far_contact_id_01.contact_sub_type:icon",
                      "side": "left"
                    },
                    {
                      "field": "RelationshipCache_Contact_far_contact_id_01.contact_type:icon",
                      "side": "left"
                    },
                    {
                      "field": "permission_near_to_far:icon",
                      "side": "right"
                    }
                  ],
                  "link": {
                    "path": "",
                    "entity": "Contact",
                    "action": "view",
                    "join": "RelationshipCache_Contact_far_contact_id_01",
                    "target": "_blank"
                  },
                  "title": "View Related Contact"
                },
                {
                  "type": "field",
                  "key": "start_date",
                  "dataType": "Date",
                  "label": "Dates",
                  "sortable": true,
                  "rewrite": "[start_date] - [end_date]"
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.address_primary.city",
                  "dataType": "String",
                  "label": "City",
                  "sortable": true
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.address_primary.state_province_id:label",
                  "dataType": "Integer",
                  "label": "State/Prov",
                  "sortable": true
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.email_primary.email",
                  "dataType": "String",
                  "label": "Email",
                  "sortable": true,
                  "icons": [
                    {
                      "icon": "fa-ban",
                      "side": "left",
                      "if": [
                        "RelationshipCache_Contact_far_contact_id_01.do_not_email",
                        "=",
                        true
                      ]
                    }
                  ]
                },
                {
                  "type": "field",
                  "key": "RelationshipCache_Contact_far_contact_id_01.phone_primary.phone",
                  "dataType": "String",
                  "label": "Phone",
                  "sortable": true,
                  "icons": [
                    {
                      "icon": "fa-ban",
                      "side": "left",
                      "if": [
                        "RelationshipCache_Contact_far_contact_id_01.do_not_phone",
                        "=",
                        true
                      ]
                    }
                  ]
                },
                {
                  "text": "",
                  "style": "default",
                  "size": "btn-xs",
                  "icon": "fa-bars",
                  "links": [
                    {
                      "entity": "Relationship",
                      "action": "view",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-external-link",
                      "text": "View Relationship",
                      "style": "default",
                      "path": "",
                      "task": "",
                      "condition": []
                    },
                    {
                      "entity": "Relationship",
                      "action": "update",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-pencil",
                      "text": "Update Relationship",
                      "style": "default",
                      "path": "",
                      "task": "",
                      "condition": []
                    },
                    {
                      "task": "enable",
                      "entity": "Relationship",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-toggle-on",
                      "text": "Enable Relationship",
                      "style": "default",
                      "path": "",
                      "action": "",
                      "condition": [
                        "is_active",
                        "=",
                        false
                      ]
                    },
                    {
                      "entity": "Relationship",
                      "action": "delete",
                      "join": "",
                      "target": "crm-popup",
                      "icon": "fa-trash",
                      "text": "Delete Relationship",
                      "style": "danger",
                      "path": "",
                      "task": "",
                      "condition": []
                    }
                  ],
                  "type": "menu",
                  "alignment": "text-right"
                }
              ],
              "actions": false,
              "classes": [
                "table",
                "table-striped",
                "disabled"
              ]
            }
          }
        ],
        "match": [
          "saved_search_id",
          "name"
        ]
      }
    ],
    [
      "Afform",
      "save",
      {
        "records": [
          {
            "type": "search",
            "title": "Relationships",
            "permission": [
              "access CiviCRM"
            ],
            "placement": [
              "contact_summary_tab"
            ],
            "icon": "fa-handshake-o",
            "summary_weight": 80,
            "permission_operator": "AND",
            "layout": "\n  \n    {{:: ts('Permissioned Relationships:') }}\n     {{:: ts('This contact can be viewed by the other.') }}\n     {{:: ts('This contact can be viewed and edited by the other.') }}\n  \n  \n  \n\n",
            "name": "afsearchTabRel",
            "modified_date": "2023-11-30 15:10:47",
            "requires": null,
            "entity_type": null,
            "join_entity": null,
            "description": null,
            "summary_contact_type": null,
            "server_route": null,
            "is_public": false,
            "redirect": null,
            "submit_enabled": true,
            "submit_limit": null,
            "create_submission": null,
            "navigation": null
          }
        ]
      }
    ]
  ]
  
  > **Comments:**
  > **username_0**: Thanks username_3 , that has worked!  
  
  ---
  
  