API for working with 'destinations'.
The current workaround is through the following code:
var destination = getDestination('the-name-of-the-destination');
var user = destination.get('User');
var password = destination.get('Password');
...
function getDestination(destName) {
var ctx = $.getInitialContext();
if (ctx != null) {
var configuration = $.getConnectivityService().getConnectivityConfiguration();
var destinationConfiguration = configuration.getConfiguration(destName);
var destinationPropeties = destinationConfiguration.getAllProperties();
return destinationPropeties;
}
return null;
}
...
API for working with 'destinations'.
The current workaround is through the following code: