2

I'd like to build a report in SearchKit/Afform to replace the default Case tab so that I can organize cases by type a bit better but I can't figure out how to add a link to open the case in the table display.

What should I be looking into to learn how to make that link? Screenshot included below of the specific spot I'd like to add that link to "Manage Case" or "View Case" or something along those lines.

enter image description here

1 Answer 1

3

I would just do this in the display and make the case id field itself a link to civicrm/contact/view/case?action=view&reset=1&id=[id]&cid=[Case_CaseContact_Contact_01.id]. The tokens would depend on your search joins - you'll find them in the </> dropdown. The above assumes cases are the main entity, joined to case-clients.

enter image description here

2
  • Thank you so much! I'm going to try that!
    – ezeisloft
    May 31, 2023 at 15:48
  • 2
    It worked perfectly. Thank you so much!!
    – ezeisloft
    May 31, 2023 at 17:58

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.