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 Business Analytics parameters, input parameters or variables. This example retrieves connection information from Business Analytics 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 © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback