6farer / meteor-salesforce

Salesforce for Meteor (via JSforce)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salesforce for Meteor (via JSforce)

This package is a slim wrapper for the awesome JSforce npm package.

We expose a global Salesforce object on the client and server which is a standard JSforce connection object. Check the JSforce documentation

Two methods login and query are wrapped server-side in Fibers to work synchronously without callbacks.

Usage

// server-side, no callbacks needed

Salesforce.login(user, pass, token); // gather these from Salesforce


var query = "SELECT Id,Name FROM Lead";
var result = Salesforce.query(query);

About

Salesforce for Meteor (via JSforce)


Languages

Language:JavaScript 100.0%