Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to find the applicationURL of a deployment programmatically

Summary:

hi, i'd like to include the url of the deployed application in an email (e.g. to let the user click to open the page) … could i ask what's the best way to get that url (i.e. the equivalent of applicationURL) from the application programmatically, rather than hard coding it? (since it'd be nice not to have to change the setting on each deployment). I note that $application.path contains that, plus the name of the folder for resources. But it'd be nice to get the applicationURL directly.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!