Showing Related Results
What if I want to go to a related record when I click on a result?
In the SearchResults demo we search a phone number table-- but when you click on a result in the list of found phone records we take you to the contact belonging to that phone number. This is done in the Integration Settings script, where instead of just going to a layout, we perform a GoToRelatedRecord script step.
You can see this is well commented in the Integration Settings script at the comment "In this example, we're using Go to Related..."
Note that this requires a relationship from the table you're searching on (Search Table 03 in our demo) and the table you'd like to go to (Search Table 03_Person in our demo).