Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Writing Mashups in EMML : Declaring Data Sources : Dynamic Connections
Dynamic Connections
Like most EMML attributes, connection information can be set dynamically using MashZone NextGen parameters, input parameters or variables. This example retrieves connection information from MashZone NextGen global attributes:
<variables>
<variable name="global.customerDS.url" type="string"/>
<variable name="global.customerDS.driver" type="string"/>
<variable name="global.customerDS.user" type="string"/>
<variable name="global.customerDS.pw" type="string"/>
</variables>

<datasource name="customerDS"
url="$global.customerDS.url"
driverclassname="$global.customerDS.driver"
username="$global.customerDS.user"
password="$global.customerDS.pw"/>
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback