Deployment Macros
You can use the deployment macros to access service details from within the service implementation.
Deployment macros are expanded to their actual values during compilation. This means that return values of macros are not objects of a basic type but constants.
In action script, you need to use them as a constant, for instance concat("Service Category: ", getURLFromAlias())
works, whereas getURLFromAlias().concat(" is the service category.")
does not.
Deployment macros only retrieve the values specified in the service details. Settings, that have been changed on the deployed service will not been taken into consideration.