The Action Buttons are created in PRD environment with External Navigation, to keep the "source page" open for the end user and then open the destination page in a new browser tab.
The issue here is when we clone from PRD environment has been applied to the Test Environment and the same Action Button is then used in Test Environment. Instead of opening the applicable destination page in Test Environment in a new browser tab, but the destination page is opened with PRD.
How can we avoid having the destination page hardcoded in the AB and instead having the AB understand which environment it is being used in and then open the destination page in the corresponding environment?
Any help would be highly appreciated.
Thanks!.