Hello Alexander,
for that you have to use the $setConnectionConfig method of the XSDS Transaction class (JSDoc: Class: Transaction).
Example:
$.import("sap.hana.xs.libs.dbutils", "xsds");
var XSDS = $.sap.hana.xs.libs.dbutils.xsds;
XSDS.Transaction.$setConnectionConfig('<your config file>');Best Regards,
Florian