Answers.Body: <p>It sounds like you are trying to add a tab to the contact summary screen to show activities? The latest version of CiviCRM includes the Admin UI extension which has just such a search all ready for you to use.</p>
  <p>Due to a <a href="https://lab.civicrm.org/dev/core/-/issues/4950" rel="nofollow noreferrer">performance issue</a> reported on some sites, the tab is disabled by default, but after enabling the CiviCRM Admin UI extension you can visit the &quot;Form Builder&quot; screen, edit the &quot;Activities&quot; search form, and enable &quot;Placement&quot; as &quot;Contact Summary Tab&quot;. This will give you a working contact summary tab to show activities, and you can then clone it &amp; tweak &amp; edit the associated SearchKit search criteria to suit your needs.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-03T00:11:07.067Z
Answers.LastActivityDate: 2024-04-03T00:11:07.067Z
Answers.UserDisplayName: Coleman
Body: <p>Civi version 5.71.2
  Wordpress 6.4.3</p>
  <p>I have only been successful at either getting all activities of the specific type for all contacts in the system viewed on the specific contact page, or, the correct activities for the viewed contact, but when any individual activity check box is clicked, every check is filled ( which I definitely don't want it to do. I have tried many combinations of different filter fields in form builder, values in the Search for page, etc. I even tried a search on contacts instead of activities.</p>
  <p>I have made many tabs like this for displaying relationships but but I haven't been able to adapt the approach there with activities.</p>
  <p>Screenshots are of the Search Kit 'Search For' page, Select Fields, and the Formbuilder filter page.</p>
  <p><a href="https://i.sstatic.net/41x1A.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/41x1A.png" alt="Search for" /></a></p>
  <p><a href="https://i.sstatic.net/YIU9E.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YIU9E.png" alt="Select Fields" /></a></p>
  <p><a href="https://i.sstatic.net/1wu5h.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1wu5h.png" alt="Formbuilder filter" /></a></p>
  
Tags: <activities><searchkit><formbuilder>
Title: Creating a Search Kit Contact Summary Tab for activities, how do you only display activities of a specific activity type for the contact being viewed?
ThreadText: # Creating a Search Kit Contact Summary Tab for activities, how do you only display activities of a specific activity type for the contact being viewed?
  
  (Asked by: username_0 on 2024-04-02)
  
  Civi version 5.71.2
  Wordpress 6.4.3
  
  I have only been successful at either getting all activities of the specific type for all contacts in the system viewed on the specific contact page, or, the correct activities for the viewed contact, but when any individual activity check box is clicked, every check is filled ( which I definitely don't want it to do. I have tried many combinations of different filter fields in form builder, values in the Search for page, etc. I even tried a search on contacts instead of activities.
  
  I have made many tabs like this for displaying relationships but but I haven't been able to adapt the approach there with activities.
  
  Screenshots are of the Search Kit 'Search For' page, Select Fields, and the Formbuilder filter page.
  
  [![Search for](https://i.sstatic.net/41x1A.png)](https://i.sstatic.net/41x1A.png)
  
  [![Select Fields](https://i.sstatic.net/YIU9E.png)](https://i.sstatic.net/YIU9E.png)
  
  [![Formbuilder filter](https://i.sstatic.net/1wu5h.png)](https://i.sstatic.net/1wu5h.png)
  
  **Tags:** activities, searchkit, formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-04-03. Score: 3
  
  It sounds like you are trying to add a tab to the contact summary screen to show activities? The latest version of CiviCRM includes the Admin UI extension which has just such a search all ready for you to use.
  
  Due to a [performance issue](https://lab.civicrm.org/dev/core/-/issues/4950) reported on some sites, the tab is disabled by default, but after enabling the CiviCRM Admin UI extension you can visit the "Form Builder" screen, edit the "Activities" search form, and enable "Placement" as "Contact Summary Tab". This will give you a working contact summary tab to show activities, and you can then clone it & tweak & edit the associated SearchKit search criteria to suit your needs.
  
  
  ---
  
  