Seamless deployment across environments. What is the best practices for an appli

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
    Certified Associate Developer
    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.
Reply
  • 0
    Certified Associate Developer
    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.
Children
No Data