![]() Var csvFileIn = require('fs').createReadStream("path/to/Account. ![]() Create readable stream for CSV file to upload When using the Salesforce connector for the first time, you will. In Bulk#load(sobjectType, operation, input), instead of passing records in array. Any licenses that do not have this edition cannot communicate to external services via API. When you create records that are not related to other records, such as private opportunities or contacts not related to an account, the division is. Just use CSV file input stream as input argument It also supports bulk loading from CSV file. ![]() Note: all returned data is of type String from parsing the XML response from Salesforce, but the following attributes are actually numbers: apexProcessingTime, apiActiveProcessingTime, numberRecordsFailed, numberRecordsProcessed, totalProcessingTime sort('-CreatedDate Name') // if "-" is prefixed to field name, considered as descending.Ĭonsole.log("record length = " + records.length) 'Id, Name, CreatedDate' // fields can be string of comma-separated field names ![]() you can change loginUrl to connect to sandbox or prerelease env.Ĭonn.login(username, password, function(err, userInfo) , You can use Connection#login(username, password) to establish a connection to Salesforce.īy default, it uses SOAP login API (so no OAuth2 client information is required). When you have a Salesforce username and password (and maybe security token, if required), ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |