Blog

Latest information about JSforce, interesting use cases, code snippets, etc.

Deploying Package to Salesforce Using JSforce and Gulp.js

Gulp.js is a simple task/build runner to process front-end stuff, which utilizes pipes for streaming data that needs to be processed.

As gulp.js is running on Node.js, various Node.js-based packages - including JSforce - can be used in build scripts.

In this article, we'll show how to deploy a force.com package using gulp, which can contain Force.com metadata objects like custom object/field definitions, Apex classes, Visualforce pages, or CSS/JavaScript/image files as static resource archive.

Read More

5 Tips You Should Know When Using JSforce REPL

If you are already using JSforce, you may be aware of its REPL. If not, you are definitely spending time and spending in learning APIs.

JSforce REPL is an extension of Node.js REPL (Read-Eval-Print Loop), which enables you to try and execute Salesforce APIs (REST, Bulk, Chatter, Metadata, and so on) in interactive manner.

I recently noticed that people are not fully utilizing features in the REPL. Here I would like to pick up some tips in JSforce REPL which I really think very useful.

Read More