All Projects → jsforce → jsforce-metadata-tools

jsforce / jsforce-metadata-tools

Licence: other
Tools for deploying/retrieving package files using Metadata API via JSforce

Programming Languages

javascript
184084 projects - #8 most used programming language
Apex
172 projects

Projects that are alternatives of or similar to jsforce-metadata-tools

jsforce-ajax-proxy
A proxy server to access Salesforce API from JavaScript apps outside of Salesforce domain.
Stars: ✭ 46 (+31.43%)
Mutual labels:  salesforce, jsforce
ssjs-lib
An open-source library that takes the repetitive and complex tasks and simplifies them, enabling you to get the most out of Salesforce Marketing Cloud.
Stars: ✭ 28 (-20%)
Mutual labels:  salesforce
artefactory-connectors-kit
ACK is an E(T)L tool specialized in API data ingestion. It is accessible through a Command-Line Interface. The application allows you to easily extract, stream and load data (with minimum transformations), from the API source to the destination of your choice.
Stars: ✭ 34 (-2.86%)
Mutual labels:  salesforce
Salesforce-Short-Hands
The main purpose of this repository is to put all the utilities in one place so that other developers can get help and they can also contribute to this repo.
Stars: ✭ 31 (-11.43%)
Mutual labels:  salesforce
sfdx-lightning-api-component
⚡️ Promise-based service component for calling REST API from Lightning Aura Components without Named Credentials.
Stars: ✭ 62 (+77.14%)
Mutual labels:  salesforce
fast-sfdc
A VSCode plugin to develop Salesforce projects in vscode
Stars: ✭ 16 (-54.29%)
Mutual labels:  salesforce
Apex-Integration-Services
Apex REST Callouts, Apex SOAP Callouts, Apex Web Services
Stars: ✭ 36 (+2.86%)
Mutual labels:  salesforce
DXB
A utility cli plugin built on top of #SFDX to facilitate devops.
Stars: ✭ 20 (-42.86%)
Mutual labels:  salesforce
apex-utils
Utility classes for Salesforce Apex development
Stars: ✭ 20 (-42.86%)
Mutual labels:  salesforce
sfdx-js
A TypeScript compatible JavaScript wrapper for Salesforce DX CLI.
Stars: ✭ 30 (-14.29%)
Mutual labels:  salesforce
APEX-Q
A promise library for Salesforce
Stars: ✭ 30 (-14.29%)
Mutual labels:  salesforce
ecars
Sample application for Lightning Web Components and Salesforce Platform runtime and compute capabilities. Part of the sample gallery. Electric car manufacturer use case. Get inspired and learn best practices.
Stars: ✭ 132 (+277.14%)
Mutual labels:  salesforce
apex-query-builder
Convenient query builder for dynamic SOQL queries
Stars: ✭ 37 (+5.71%)
Mutual labels:  salesforce
backup-force.com
Export and backup salesforce.com Database locally
Stars: ✭ 30 (-14.29%)
Mutual labels:  salesforce
salesforce-plantuml
Salesforce app to generate UML class & ER-diagrams from your org data. Leverages the PlantUML library.
Stars: ✭ 89 (+154.29%)
Mutual labels:  salesforce
omakase
Java-based, plugin-oriented CSS3+ parser
Stars: ✭ 13 (-62.86%)
Mutual labels:  salesforce
311
New web portal for BOS:311
Stars: ✭ 15 (-57.14%)
Mutual labels:  salesforce
ApexTriggerHandler
Another library implements Apex trigger handler design pattern.
Stars: ✭ 40 (+14.29%)
Mutual labels:  salesforce
sf-sandbox-post-copy
A framework for managing automation tasks that are fired upon sandbox refresh in Salesforce orgs.
Stars: ✭ 44 (+25.71%)
Mutual labels:  salesforce
aptk-graphsql
Extends your Salesforce API with basic GraphQL capabilities, allowing you to run GraphQL queries on your Salesforce data.
Stars: ✭ 26 (-25.71%)
Mutual labels:  salesforce

jsforce-metadata-tools Build Status

Tools for deploying/retrieving package files using Salesforce Metadata API via JSforce.

Provides command line interface (CLI) to easily deploy/retrieve packages.

Install

$ npm install jsforce-metadata-tools -g

Usage

Deploy

Deploy package from local directory

$ jsforce-deploy -u [email protected] -p ${SF_PASSWORD} -D ./path/to/packageDir

Deploy package from ZIP archive file

$ jsforce-deploy -u [email protected] -p ${SF_PASSWORD} -Z ./path/to/package.zip

Retrieve

Retrieve package files and write them under the directory

(Assuming that ./path/to/packageDir directory has a package.xml file inside)

$ jsforce-retrieve -u [email protected] -p ${SF_PASSWORD} -D ./path/to/packageDir

Retrieve package files by specifying metadata types/members to retrieve

$ jsforce-retrieve -u [email protected] -p ${SF_PASSWORD} --memberTypes "ApexClass:Class1,Class2;ApexPage:*" -D ./path/to/distDir

Retrieve package files by specifying package names to retrieve

$ jsforce-retrieve -u [email protected] -p ${SF_PASSWORD} --packageNames "Package1,Package2" -D "./path/to/distDir1,./path/to/distDir2"

Retrieve package files by specifying package.xml file

$ jsforce-retrieve -u [email protected] -p ${SF_PASSWORD} -P ./path/to/package.xml -D ./path/to/distDir

Retrieve package and output as a ZIP archive file

$ jsforce-retrieve -u [email protected] -p ${SF_PASSWORD} --packageName Package1 -Z ./path/to/package.zip

OAuth-based Authorization

Once the authorization is done in JSforce REPL, the same connection is also valid here (no password required)

$ jsforce
> .authorize

...
(OAuth authorization flow)
...

Received authorization code. Please close the opened browser window.
Authorized. Fetching user info...
Logged in as : [email protected]
> .exit

$ jsforce-deploy -c [email protected] -D ./path/to/packageDir
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].