I’ve been fighting with this for quite a while.
• I have a portal to a second table.
• I create a new record via a script from a button on a popover on the portal and depending on sort order (ascending/descending) the new record is either First or Last in the portal. The portal remains unsorted throughout this process. The portal row is never active, but the popover is correctly assigned to it (the arrow is pointing the correct row)
• When I close the popover, the portal remains unsorted and the row remains inactive. I have to click on a portal row for the portal to sort and then the new record jumps to its new position in the portal.
Is there a way to keep this record active?