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
5 replies
Subscribers
7 subscribers
Views
3649 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Seamless deployment across environments. What is the best practices for an appli
juergeng
over 9 years ago
Seamless deployment across environments. What is the best practices for an application to get aware automatically on what kind of environment (staging areas: dev, test, prod) it is running?This should be used e.g. to define variables for finding the SOA services and so on.We would like to avoide modification of an app after deployment. What is the recommendation?Thanks Juergen
OriginalPostID-152018
OriginalPostID-152018
Discussion posts and replies are publicly visible
Parents
0
dsmithgxp
Certified Associate Developer
over 9 years ago
Hi Juregen - Typically we separate Environmental type rules and constants in a separate folder and not include those artifacts when we push from system to system. In terms of determining your environment, you can leverage a rule to call APN_getSiteUrl() (which is part of the common objects app) and based on that rule determine what environment you are running in. From there leverage logic to create dynamic links etc.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
dsmithgxp
Certified Associate Developer
over 9 years ago
Hi Juregen - Typically we separate Environmental type rules and constants in a separate folder and not include those artifacts when we push from system to system. In terms of determining your environment, you can leverage a rule to call APN_getSiteUrl() (which is part of the common objects app) and based on that rule determine what environment you are running in. From there leverage logic to create dynamic links etc.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data