acrosman / Salesforce2Sql

Electron app to convert a Salesforce org's schema into a similarly shaped database.
MIT License
15 stars 8 forks source link

Support Consumer Goods Cloud #191

Open acrosman opened 1 year ago

acrosman commented 1 year ago

Summary

Add detection and support for Consumer Goods Cloud

Please describe the problem you are trying to solve.

Currently Salesforce2Sql supports detection of NPSP and EDA, then falls back to assume Sales Cloud. Each option triggers default selection of a different set of Standard Objects. Generally having support for all Industry clouds would be useful.

Proposed Solution

The sf_calls.js file needs two updates. The sniffOrgType() function needs to be updated to know about Consumer Goods Cloud, and standardObjectsByNamespace needs to have a list of standard objects to recommend from the list of objects.