Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
9 subscribers
Views
6643 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Linking to an Action or Report
Kyle Jorgensen
over 8 years ago
What is the best way to link to an action or report other than directly using the URL? Since the links would be different between our environments I would like to avoid directly hard coding a URL in.
OriginalPostID-259948
Discussion posts and replies are publicly visible
Parents
0
Josh
Certified Lead Developer
over 8 years ago
The recommended approach here is to create a separate application for environment specific constants and to not put these constants in your main application. That way you don't accidentally overwrite the constants during a deployment.
I also typically include a "ENV" tag (ex. APP_ENV_YOUR_CONSTANT) and do a quick "ENV" search in the application before deploying to make sure I'm not exporting environment specific constants.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 8 years ago
The recommended approach here is to create a separate application for environment specific constants and to not put these constants in your main application. That way you don't accidentally overwrite the constants during a deployment.
I also typically include a "ENV" tag (ex. APP_ENV_YOUR_CONSTANT) and do a quick "ENV" search in the application before deploying to make sure I'm not exporting environment specific constants.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data