You need to sign in to do that
Don't have an account?
Updating Multiple Contacts with matching Email from a single Id,Email
SimonF (or anyone :) ),
You recently helped me getting contact updates working. Im wondering what changes would be required to make it update multiple contacts at once if I pass it a value.
qr = binding.query("select Id,Email from Contact where Email = " + thisEmail + "");
binding.Url = lr.serverUrl;
binding.SessionHeaderValue.sessionId = lr.sessionId;
What would be required to update every contact returned in that query?
Single updates are working flawlessly (different code structure), even multiple iterations of single updates, but I want to accomplish passing the email address of the current contact in my DataTable and then update every contact in salesforce with a matching email address (which i dont have in my DataTable. Anyone have any tips? Thank you in advance.
In case anyone else is looking for Code:
It is probably far from 'right' but it works for my purpose for now. Thanks DevAngel for the tips!
Edit: Forgot to move the StringBuilder errors = new StringBuilder(); out of the loop before posting.