All Projects → gavignon → sfdc-generate-data-dictionary

gavignon / sfdc-generate-data-dictionary

Licence: MIT License
Generate data dictionary from a Salesforce Org. This tool can also generate a file that can be imported in Lucidchart to define entities and relationships.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to sfdc-generate-data-dictionary

English-Persian-Word-Database
English Persian Word Database - Popular database extensions
Stars: ✭ 19 (-47.22%)
Mutual labels:  dictionary, excel
apexmock
force.com Mock data and fixtures for Apex Unit Tests
Stars: ✭ 24 (-33.33%)
Mutual labels:  salesforce, sfdc
NebulaFramework
A development framework for Salesforce's Apex language & the Force.com platform
Stars: ✭ 28 (-22.22%)
Mutual labels:  salesforce, sfdc
apex-dml-mocking
DML mocking, CRUD mocking, dependency injection framework for Salesforce.com (SFDC) using Apex
Stars: ✭ 38 (+5.56%)
Mutual labels:  salesforce, sfdc
apex-mocks-stress-test
Testing out FFLib versus Crud / CrudMock
Stars: ✭ 47 (+30.56%)
Mutual labels:  salesforce, sfdc
backup-force.com
Export and backup salesforce.com Database locally
Stars: ✭ 30 (-16.67%)
Mutual labels:  salesforce, sfdc
Indicators
Indicators Lightning Web Component
Stars: ✭ 30 (-16.67%)
Mutual labels:  salesforce
FPL
Fortran Parameter List. A fortran dictionary where to put the parameters of your application.
Stars: ✭ 29 (-19.44%)
Mutual labels:  dictionary
sf-sandbox-post-copy
A framework for managing automation tasks that are fired upon sandbox refresh in Salesforce orgs.
Stars: ✭ 44 (+22.22%)
Mutual labels:  salesforce
spreadsheets-to-dataframes
Pycon 2021 Tutorial to help Spreadsheet (Excel) Users learn Python
Stars: ✭ 30 (-16.67%)
Mutual labels:  excel
lightning-data-table
Lightning components for building a data-table with search, column sorting, pagination for Salesforce
Stars: ✭ 15 (-58.33%)
Mutual labels:  salesforce
oxford-dictionary
A nodeJS wrapper for using the oxforddictionary.com V2 REST API.
Stars: ✭ 28 (-22.22%)
Mutual labels:  dictionary
apex-fp
Functional programming for Salesforce Apex
Stars: ✭ 231 (+541.67%)
Mutual labels:  salesforce
tuja-vortaro
Tuja, simpla, libra poŝvortaro.
Stars: ✭ 21 (-41.67%)
Mutual labels:  dictionary
jsforce-metadata-tools
Tools for deploying/retrieving package files using Metadata API via JSforce
Stars: ✭ 35 (-2.78%)
Mutual labels:  salesforce
visualforce-to-lwc
A collection of code examples to help you move from Visualforce to LWC.
Stars: ✭ 92 (+155.56%)
Mutual labels:  salesforce
DXB
A utility cli plugin built on top of #SFDX to facilitate devops.
Stars: ✭ 20 (-44.44%)
Mutual labels:  salesforce
FuelSDK-Node-Auth
Node authentication library for accessing the Salesforce Marketing Cloud APIs. Used in REST and SOAP client
Stars: ✭ 14 (-61.11%)
Mutual labels:  salesforce
cyberdic
An auxiliary spellcheck dictionary that corresponds with the Bishop Fox Cybersecurity Style Guide
Stars: ✭ 63 (+75%)
Mutual labels:  dictionary
sfpowerscripts
A build system for modular development in Salesforce, delivered as a sfdx plugin that can be implemented in any CI/CD system of choice
Stars: ✭ 121 (+236.11%)
Mutual labels:  salesforce

version

Generate data dictionary from a Salesforce Org. This tool can also generate a file that can be imported in Lucidchart to define entities and relationships.

Getting Started

Works in Unix like system. Windows is not tested.

Installing

npm install -g sfdc-generate-data-dictionary

Screenshots

Usage

Command Line

$ sgd -h

  Usage: sgd [options]

  Generate data dictionary from a Salesforce Org

  Options:

    -u, --username [username]                             salesforce username
    -p, --password [password]                             salesforce password
    -l, --loginUrl [loginUrl]                             salesforce login URL [https://login.salesforce.com]
    -a, --apiVersion [apiVersion]                         salesforce API Version [48.0]
    -c, --allCustomObjects [allCustomObjects]             retrieve all custom objects [true]
    -lc, --lucidchart [lucidchart]                        generate ERD file for Lucidchart [true]
    -s, --sobjects [sobjects]                             sObjects to retrieve separated with commas
    -D, --debug [debug]                                   generate debug log file [false]
    -d, --deleteFolders [deleteFolders]                   delete/clean temp folders [true]
    -e, --excludeManagedPackage [excludeManagedPackage]   exclude managed packaged [true]
    -ht, --hideTechFields [hideTechFields]                hide tech fields [false]
    -tp, --techFieldPrefix [techFieldPrefix]              Tech field prefix ['TECH_']
    -o, --output [dir]                                    salesforce data dictionary directory path [.]

Example

$ sgd -u "[email protected]" -p "password" -l "https://test.salesforce.com" --sobjects "Account,Contact,Opportunity,Case" -c false

Module

  var sgd = require('sfdc-generate-data-dictionary');

  sgd({
      'username': '',
      'password': options.password,
      'loginUrl': options.loginUrl,
      'projectName': '',
      'allCustomObjects': true,
      'debug': false,
      'cleanFolders': true,
      'output':'.'
      }, console.log);

Debugging

Since 1.0.3, you can now run the tool in debug mode to generate a file that contains information about each step during the process. Information contained in the debug files will be enriched following your feedback to have the most accurate information for debugging.

Please paste the content of this file in your issues to help analysis.

Debug files location

For a local module:

CURRENT_DIR/node_modules/sfdc-generate-data-dictionary/files

Global module:

  • Mac: /usr/local/lib/node_modules/sfdc-generate-data-dictionary/files
  • Windows: %AppData%\npm\node_modules\sfdc-generate-data-dictionary\files

Built With

  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • bytes - Utility to parse a string bytes to bytes and vice-versa.
  • excel4node - Node module to allow for easy Excel file creation.
  • jsforce - Salesforce API Library for JavaScript applications (both on Node.js and web browser)

Versioning

SemVer is used for versioning.

Authors

License

This project is licensed under the MIT License - see the <LICENSE.md> file for details

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].