In our example here we’ll use G-Connector to update the stage of all opportunities under one specific account. We’ll use the following query to pull the data:
SELECT Id, Name, StageName FROM Opportunity
Please note that we’re pulling record IDs. A column of record IDs is required to be able to update records in Salesforce.com.
We got the following results back from our sample database:
Now we want to change the stage of all four Opportunities to Closed Won. After the stage has been changed we’ll select the rows of data so that the selection spans across all the records that we want to update (it doesn’t matter if the selection spans across one or multiple columns):
Then we’ll click Add-ons -> G-Connector for Salesforce-> Update/Insert/Upsert. The system already knows what object the data was pulled from, that is why the Opportunity object will be already selected. The Update operation is the default one, so you won’t need to change that too:
G-Connector will try to automatically map your spreadsheet columns to the corresponding fields in Salesforce, and because we pulled data using SOQL – in this case it will map all columns correctly. However, please verify the mappings each time before proceeding with an update and re-map if necessary. Incorrect mappings may lead to unrecoverable data loss!
The top table in the mapping dialog lists all available fields from the selected object. You can map your spreadsheet columns to fields in Salesforce by dragging fields from the top table and dropping them on the column names in the bottom table.
Click on Save Template to save the current mappings and other settings in this dialog box as a template for future re-use.
After you’ve verified your mappings and re-mapped if necessary, you you need to do is click Push Selected Rows, and all the Opportunity records will get updated.
After the Update operation has been completed, you’ll see the operation results on the very right from your data, one column over after the last data column: