Forum Discussion
SmartBear_Suppo
10 years agoSmartBear Alumni (Retired)
Hi Kelli,
A few things to keep in mind when working with environments. When you create a project property before any environment is created, when you get to create the first environment, you will have the option to "Copy endpoints & credentials from the project". Then your created environment will inherit the property and its value as you had set it up (that would be in the "Default" environment which exists before any actual environment is added to the project.)
Then if you are adding a project property after environments have been created, you should go to the Overview tab of your project and add the property there. Your environments will inherit it, but the value won't be set. You need to go to the Environments tab, and set the value of the property in each environment.
So your endpoint ${#Project#CPServiceEndpoint} will work in all the environments.
Regards,
Giscard
SmartBear Support
A few things to keep in mind when working with environments. When you create a project property before any environment is created, when you get to create the first environment, you will have the option to "Copy endpoints & credentials from the project". Then your created environment will inherit the property and its value as you had set it up (that would be in the "Default" environment which exists before any actual environment is added to the project.)
Then if you are adding a project property after environments have been created, you should go to the Overview tab of your project and add the property there. Your environments will inherit it, but the value won't be set. You need to go to the Environments tab, and set the value of the property in each environment.
So your endpoint ${#Project#CPServiceEndpoint} will work in all the environments.
Regards,
Giscard
SmartBear Support