Connecting
To connect to Adobe Experience Manager, you can use either a DSN or an ODBC connection string. Both of these methods use the Database's Open method.
Connect to a DSN
To connect using a DSN:
var db = new Database();
db.open("DSN=CData AdobeExperienceManager Sys", (err) => {
// Use the connection
});
Provide a Driver Connection String
To connect using an ODBC connection string:
var db = new Database();
db.open("DRIVER={CData ODBC Driver for Adobe Experience Manager};URL=http://localhost:4502/crx/server;User=admin;Password=admin;;", (err) => {
// Use the connection
});