Go to last portal row script scrolling issue (in list view)
I have a script that adds a record to a portal and then directs the user to the last portal row and selects a specific field within that portal row. Everything works fine for the most part (the last portal row is selected and the field within that portal row is selected), but the window seems to scroll down to where the last portal row would be if it were not confined to the actual portal. So, if there are 100 entries in the portal, the window scrolls down 100 heights of a portal row... This would be obviously confusing for someone trying to use the button, especially considering it is in list view and the window ends up on a completely different (non-selected) record... Any ideas why this is happening and what I could do to solve it?
Here is what my script looks like:
Go to object [portal]
Go to portal row [last]
Go to field [specific field]
Thanks for taking a look!