connect-bridge-node
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

connect-bridge-node

This module allows to access data of Microsoft Dynamics CRM, Microsoft SharePoint and Microsoft Exchange (and others) via a commercial integration tool called Connect Bridge.

Technically the module is a wrapper around a proprietary rest service of an integration tool called Connect Bridge Server.

Usage

var cbnode = require('connect-bridge-node')('pg.connecting-software.com', 4433, 'youruser', 'yourpassword', 'your_cb_account');

function onError(err) {
    console.error(err);
}

function onConnected() {
    console.log('connected to Connect Bridge');
    //if connected to i.e. Exchange account, you can query the appointments like this...
    cbnode.execute("select * from Appointment;", [], onResult, onError);        
}

function onDisconnected() {
    console.log('disconnected');
}

function onResult(result)
{
    console.log(result);
    cbnode.disconnect(onDisconnected, onError);
}

cbnode.connect(onConnected, onError);


Developing

Tools

Created with Nodeclipse (Eclipse Marketplace, site)

Nodeclipse is free open-source project that grows with your contributions.

Package Sidebar

Install

npm i connect-bridge-node

Weekly Downloads

19

Version

0.2.9

License

GPL2

Last publish

Collaborators

  • michalhainc