Answers.Body: <p>Yes, you can do this with SearchKit + FormBuilder.</p>
  <ol>
  <li>Create a search for Contacts</li>
  <li>Add it to a form</li>
  <li>Add &quot;Contact Tags&quot; as a form filter:
  <a href="https://i.sstatic.net/knpAe.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/knpAe.png" alt="Tags filter" /></a></li>
  <li>Give your form a title and a url (e.g. <code>civicrm/contacts-by-tag</code>) and save.</li>
  <li>Now visit your form e.g. at <code>http://example.org/civicrm/contacts-by-tag#?tags=4</code> and FormBuilder will automatically set the title and show you contacts with that tag:
  <a href="https://i.sstatic.net/Yw1zZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Yw1zZ.png" alt="Find contacts by tag" /></a></li>
  <li>In your original search, construct a link to the new form using a token for tag id.</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-12T11:46:18.057Z
Answers.Text: Thank you very much! I followed the steps above and it works. 
  
  (((I hope this tag navigation will make it to Civi core one day and make the tags in contact cards clickable. So that Civi tags behave like tags in Drupal, Wordpress, etc.)))
Answers.UserDisplayName: icaria36
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-08T14:03:50.223Z
Answers.LastActivityDate: 2023-12-08T14:03:50.223Z
Answers.UserDisplayName: Coleman
Body: <p>SearchKit and FormBuilder are a fantastic couple and I'm creating various reports and dashlets for my CRM colleagues. I have a display showing all tags sorted by the amount of times they are used in contacts and activities. I would like to make the tags clickable and pointing to a page listing the contacts or the activities using that tag. It is possible to create these links using &quot;https://[something]&quot; + &quot;Tag&quot; but I can't find that [something].</p>
  <p>Is it possible to construct these URLs with SearchKit or CiviCRM's older search engines? Or is there a different way to resolve this problem? Finding pages using a tag is a relatively common use case.</p>
  
Tags: <searchkit><search-results><tags><custom-search><formbuilder>
Title: Is it possible to use a URL format "https://[something]/[Tag]" to generate lists of contacts or activities using that Tag?
ThreadText: # Is it possible to use a URL format "https://[something]/[Tag]" to generate lists of contacts or activities using that Tag?
  
  (Asked by: username_0 on 2023-12-07)
  
  SearchKit and FormBuilder are a fantastic couple and I'm creating various reports and dashlets for my CRM colleagues. I have a display showing all tags sorted by the amount of times they are used in contacts and activities. I would like to make the tags clickable and pointing to a page listing the contacts or the activities using that tag. It is possible to create these links using "https://[something]" + "Tag" but I can't find that [something].
  
  Is it possible to construct these URLs with SearchKit or CiviCRM's older search engines? Or is there a different way to resolve this problem? Finding pages using a tag is a relatively common use case.
  
  **Tags:** searchkit, search-results, tags, custom-search, formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-12-08. Score: 2 | Accepted answer
  
  Yes, you can do this with SearchKit + FormBuilder.
  
  1. Create a search for Contacts
  2. Add it to a form
  3. Add "Contact Tags" as a form filter:
     [![Tags filter](https://i.sstatic.net/knpAe.png)](https://i.sstatic.net/knpAe.png)
  4. Give your form a title and a url (e.g. `civicrm/contacts-by-tag`) and save.
  5. Now visit your form e.g. at `http://example.org/civicrm/contacts-by-tag#?tags=4` and FormBuilder will automatically set the title and show you contacts with that tag:
     [![Find contacts by tag](https://i.sstatic.net/Yw1zZ.png)](https://i.sstatic.net/Yw1zZ.png)
  6. In your original search, construct a link to the new form using a token for tag id.
  
  > **Comments:**
  > **username_0**: Thank you very much! I followed the steps above and it works.   (((I hope this tag navigation will make it to Civi core one day and make the tags in contact cards clickable. So that Civi tags behave like tags in Drupal, Wordpress, etc.)))  
  
  ---
  
  