Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
Dynamic web server URL in Action link - Navigate to web page

Hello Everyone,
I am having a problem which I hope to find the resolution within this forum.
I have two environments, Dev and Test. For example sake, lets say the Dev webserver URL is www.dev.com & Test webserver URL is www.test.com.
I developed on the DEV system and used an action link - navigate to web page option to pass parameters so that it goes to another report with the parameters passed to the prompts.
Now, this analysis was migrated to the Test environment for testing. But it carries the www.dev.com/analytics... URL in to Test.
So when the testers test it on the Test system, the action link navigates back to the DEV system.
I need a way to keep the web server part of the URL dynamic when developing, so that I don't need to hard code it.
Appreciate your feedback.
Answers
-
I haven't tried it with URLs, but have you looked at presentation or server variables? We've used them successfully in dynamic attribute formulas and filters; don't know if they'd behave the same way embedded in a URL.
-
Geoff's suggestion is exactly how it has been done on many, many projects.
The only other way I have seen it done is more database-centric and relies on you have access to the underlying DBs so you can store all of the environment specific data that way.
Finally, some like to apply the environment specific stuff as a patch to an homogenous rpd, as part of the pre-deployment steps.
Pay your money, take your choice.
-
Thank you Geoff. I was able to use a repository variable on the link/image URL on a dashboard page. However tried to use the same on an action link on a column but it doesn't work.
Any ideas?