• spaghetti_code
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 8
    Replies
Hi All,
 
Can anyone direct me of how to update field in salesforce db? This is part that I am already done:
 
-----------------------------------

sfdcLogin();

sfdc.QueryResult queryResult = null;

binding.QueryOptionsValue = new sfdc.QueryOptions();

binding.QueryOptionsValue.batchSize = 100;

binding.QueryOptionsValue.batchSizeSpecified = true;

StringBuilder sb = new StringBuilder();

sb.Append("UPDATE Contact SET IsDeleted = 'true' WHEN AccountID = '");

sb.Append(accountID + "'");

queryResult = binding.query(sb.ToString());

-----------------------------------
 
Am I missing something there? Thanks in advance.
Hi All,
 
I need to capture user information based on customers id on the page. On each user info page, I will have a custom button where will trigger an email. On that email, I will show some user information such as Name and Address. Is there any API or sample code to do this? I would assume a custom web service will a good fit to do this. Thanks in advance. 
Hi All,
 
Can anyone direct me of how to update field in salesforce db? This is part that I am already done:
 
-----------------------------------

sfdcLogin();

sfdc.QueryResult queryResult = null;

binding.QueryOptionsValue = new sfdc.QueryOptions();

binding.QueryOptionsValue.batchSize = 100;

binding.QueryOptionsValue.batchSizeSpecified = true;

StringBuilder sb = new StringBuilder();

sb.Append("UPDATE Contact SET IsDeleted = 'true' WHEN AccountID = '");

sb.Append(accountID + "'");

queryResult = binding.query(sb.ToString());

-----------------------------------
 
Am I missing something there? Thanks in advance.
Hi All,
 
I need to capture user information based on customers id on the page. On each user info page, I will have a custom button where will trigger an email. On that email, I will show some user information such as Name and Address. Is there any API or sample code to do this? I would assume a custom web service will a good fit to do this. Thanks in advance.