nforce-actions

An nforce plugin that facilitates working with actions

Usage no npm install needed!

<script type="module">
  import nforceActions from 'https://cdn.skypack.dev/nforce-actions';
</script>

README

nforce-actions

An nforce plugin that facilitates working with actions

Installation

First, install nforce-actions with npm

$ npm install nforce-actions

Load the plugin

var nforce = require('nforce');

// load the nforce-actions plugin
require('nforce-actions')(nforce);

var org = nforce.createConnection({
  clientId: '<client_id>',
  clientSecret: '<client_secret>',
  redirectUri: '<redirect_uri>',
  username: process.env.SFUSER,
  password: process.env.SFPASS,
  plugins: ['customActions'] // loads the plugin in this connection
});