Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | DSPs and building output templates | Using Dynamic Server Pages (DSPs) | Using the DSP Tags | Passing Parameters with a DSP | Passing Parameters Between Services within a DSP
 
Passing Parameters Between Services within a DSP
To pass data between services within a DSP, you can use any of the following techniques:
*Invoke the service that needs the parameter within the scope of the service that produces the parameter. When a service is invoked in a DSP, it receives all of the variables that are “in scope” at the point where it is invoked. For an example of this, see the sample code on Ending the Scope of the Invoke Action.
*Use the %rename% tag to copy a variable that is out of scope into the current scope. For details and examples, see the %rename% tag description on %rename%.
*Use the %scope% tag to add a variable to the current scope and specify its value. For details and examples, see the %scope% tag description on %scope%.