Externalizing connection property values for a configurable connection type
In addition to the preconfigured connection types in the intsrvrsources.xml file, you can specify the connection properties for other connection types in the <BDPro_HOME>\eclipse\plugins\com.actuate.ais.embeddable_<version>
\Config\aisconfigfiles\etc\data_integration\datasources.xml file and the $AC_SERVER_HOME/etc/data_integration/datasources.xml file, for example:
<ConnectionType Name="My_Database">
<ConnectionParams>
<ConnectionParam Name="database"
Display="Database"
Type="string"
ValueIsCaseSensitive="false" />
<ConnectionParam Name="username"
Display="User name"
Type="string" />
<ConnectionParam Name="password"
Display="Password"
Type="masked" />
</ConnectionParams>
</ConnectionType>
To externalize the connection property values for a configurable connection type, add a ConnectOptions element to the data source connection configuration file’s Runtime element, for example:
<Runtime>
<ConnectOptions Type="My_Database_Connection">
<Property PropName="database">My_Database</Property>
<Property PropName="username">My_Database_User</Property>
<Property PropName="password">My_Database_Password</Property>
</ConnectOptions>
</Runtime>
The property names listed in the ConnectOptions element must match the connection parameter names listed in the ConnectionParams element in the datasources.xml file. The match is case-sensitive.