I have a requirement to open a APEX reporting on button action. I have added the button and on action chain provided the URL for the same. But the URL is specific to the development instance. So, when I migrated to other instance I need manually update the URL in the button action to point to higher instance URL.
How can i avoid this manual step and pass dynamic host details to the button to point to respective instance APEX reporting.