Script - need "Go to Record" variation based on record Id not portal row - for use in filtered portal
I am trying to script - go from a record in a filtered portal to that related record in its original layout.
The Go to Record function appears to be calculated via portal row. Hence if filtering changes the row number...eg. prior to filtering, a record may be in the 5th portal row. However, after filtering the record may now be on portal row #2. In this example, using the Go to Record script takes you to the 2nd portal row of the original layout (not the 5th).
I suspect it needs to use the record Id and then go to the record in the layout that matches that id. I have been trying to construct this but appear to be missing something.
Thanks in advance.