Stwissel / node-red-contrib-salesforce

A set of Node-RED nodes to interact with Salesforce and Force.com
MIT License
10 stars 17 forks source link

Allow user to pass environment (eg Sandbox, production, etc) via environment variable? #20

Closed javaknight closed 5 years ago

javaknight commented 6 years ago

The current select box doesnt allow you to input an environment variable. other parts of the node can be configured by environment variable. can you extend it to allow the user to select environment via environment variable?

Stwissel commented 6 years ago

What would be the use case for that? Ease of deployment from/to Sandbox/Production?

javaknight commented 6 years ago

Yes. Right now, I have to make sure I meticulously switch each Salesforce node to the proper environment when I push and pull to/from github when developing between sandbox and publishing to production. It is pretty easy to make a mistake especially when you have larger flows that scroll right or down.

Stwissel commented 5 years ago

Switching to nforce8, added env parameter [ConnectionName]_Environment to define production or sandbox in v0.6