-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
20Questions
-
12Replies
Stop duplicate leads with API
-
- Paulo
- September 17, 2009
- Like
- 0
- Continue reading or reply
Associate Lead with Campaign through API
-
- Paulo
- June 30, 2009
- Like
- 0
- Continue reading or reply
Query an accounts contact
SELECT ID,FirstName, LastName, Primary_Contact_Title__c, Email, Phone, Fax, MailingStreet, MailingCity, MailingState, MailingPostalCode FROM Contact WHERE Account.= '" + strAccount + "' AND RecordTypeId = '" + strRecordTypeId + "'"
-
- Paulo
- October 09, 2008
- Like
- 0
- Continue reading or reply
Error: The remote server returned an error: (407) Proxy Authentication Required.
-
- Paulo
- May 01, 2008
- Like
- 0
- Continue reading or reply
Creating Contract "FAILED_ACTIVATION" error
-
- Paulo
- April 01, 2008
- Like
- 0
- Continue reading or reply
How can I call an s-control's functionality from my own web app?
-
- Paulo
- August 27, 2007
- Like
- 0
- Continue reading or reply
External foreign key reference error
I'm trying to create an agreement using the echosign appexchange application in salesforce but I am receiving the error below when I try to create the object.
// Create Agreement object
Sforce.SIGN_Agreement__c sfAgreement = new Sforce.SIGN_Agreement__c();
// Set Agreement object properties
sfAgreement.Recipient__r = contact;
sfAgreement.Name = "Testing";
sfAgreement.sfAgreement.SignatureType__c = "e-Signature";
-
- Paulo
- August 24, 2007
- Like
- 0
- Continue reading or reply
Error when creating lead using classic asp
-
- Paulo
- April 04, 2007
- Like
- 0
- Continue reading or reply
retrieving salesforceid through api
// Invoke the create call, passing in the account properties and saving the results in a SaveResult object Sforce.SaveResult[] saveResults = binding.create(records);
</code>
Can salesforce return the id?
-
- Paulo
- April 13, 2006
- Like
- 0
- Continue reading or reply
Error: The underlying connection was closed: The remote name could not be resolved.
I have an asp.net app that is using the webservice and it was working fine until about a week ago. I am now getting the error below:
The underlying connection was closed: The remote name could not be resolved.
Any ideas as to why this might be happening? The app works fine on my development environment but not in production.
Paulo
-
- Paulo
- February 20, 2006
- Like
- 0
- Continue reading or reply
Search documents stored on salesforce
-
- Paulo
- March 28, 2005
- Like
- 0
- Continue reading or reply
Linking to documents on salesforce.com
Hi all,
Is it possible to have links on my website that link to documents saved on salesforce and not get the salesforce login screen? If so how would I go about getting this done.
Thanks in advance!
Message Edited by Paulo on 03-08-2005 12:04 PM
Message Edited by Paulo on 03-08-2005 12:04 PM
-
- Paulo
- March 08, 2005
- Like
- 0
- Continue reading or reply
Assignment Rule not working
Hi,
I am having problems with the autoassignment rules working when I submit a lead using the api 4.0 into salesforce. The lead owner is always set to the user that I use to log into salesforce. How can I get my app to use the autoassign rules I have set up in salesforce? I am using the 4.0 api, asp.net and c# to develop my app.
-
- Paulo
- September 13, 2004
- Like
- 0
- Continue reading or reply
Behind a firewall
I've deployed my app that uses the salesforce API 4.0 on three servers successfully. When I try to deploy my app on to production it is not able to connect to the salesforce server. I know it's because the server is behind a firewall but the network group keeps telling me that port 443 and port 80 are open so nothing is blocking it from going to the salesforce server. They also informed me that we don't use a proxy server. Does anyone know what I can ask them to check out or what the problem might be? Any suggestions would be greatly appreciated.
Thanks in advance.
Paulo
-
- Paulo
- August 26, 2004
- Like
- 0
- Continue reading or reply
Code pointing to reference.cs on dev environment in production
I'm getting this error below when I put my files into production for some reason. I noticed that the error below is pointing to files
in the wrong directory (it looks like my dev environment). I can't find where it is referencing the directory below anywhere in my code. Any ideas why it's pointing to that
directory (highlighted in red below).
System.Net.HttpWebRequest.CheckFinalStatus() +673 System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) +75 System.Net.HttpWebRequest.GetRequestStream() +132 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +105 Credco.Web.SignUp.sforce.SforceService.login(String username, String password) in c:\wwwdev$\signup\Web References\sforce\Reference.cs:46 Credco.Web.SignUp.AmericorpSatellite.createLead(Customer c) in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:133 Credco.Web.SignUp.AmericorpSatellite.submitBtnClick() in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:117 Credco.Web.SignUp.AmericorpSatellite.Page_Load(Object sender, EventArgs e) in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:80 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731
Message Edited by Paulo on 08-24-2004 03:46 PM
-
- Paulo
- August 24, 2004
- Like
- 0
- Continue reading or reply
Getting the following error when I try to release my webapp.
I am releasing an application that I have created on to another server that uses the sforce API 4.0 and the web app was written in C#. But I am getting the following error. Any ideas?
The underlying connection was closed: Unable to connect to the remote server.
|
-
- Paulo
- August 19, 2004
- Like
- 0
- Continue reading or reply
Auto response rules not working for leads inserted by api
-
- Paulo
- August 12, 2004
- Like
- 0
- Continue reading or reply
Submitting a lead to Salesforce
Hi,
I am trying to submit a lead to salesforce with asp.net in c# and am not having any luck. The code below executes fine but nothing is getting submitted to my salesforce development site. What login and pwd am I suppose to be using and what access rights should the login have? Am I missing something? When I execute the code below it does not return an id with saveResults.
private void createLead() {
//Create the proxy binding and login
sforce.SforceService binding = new sforce.SforceService();
sforce.LoginResult lr = binding.login("login", "pwd");
binding.SessionHeaderValue = new sforce.SessionHeader();
binding.SessionHeaderValue.sessionId = lr.sessionId;
binding.Url = lr.serverUrl;
// Create an account object to send to the service
Credco.Web.SignUp.sforce.Lead sfLead = new Credco.Web.SignUp.sforce.Lead();
// Set several properties
sfLead.FirstName = "Test";
sfLead.LastName = "Tester";
sfLead.LeadSource = "Testing";
// Add the account to an array of SObjects
sforce.sObject[] records = new sforce.sObject[] {sfLead};
// Invoke the create call, passing in the account properties
// and saving the results in a SaveResult object
sforce.SaveResult[] saveResults = binding.create(records);
// Access the new ID
String newID = saveResults[0].id;
}
-
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply
Invalid_Session_ID: Invalid Session ID found in SessionHeader
I think I'm on the right track to creating a lead but I get a "Invalid_Session_ID" error when I try to add the lead. Code is posted below. Am I missing something or what am I doing wrong?
private void createLead() {
//Create the proxy binding and login
sforce.SforceService binding = new sforce.SforceService();
try {
sforce.LoginResult lr = binding.login("login", "pwd");
Session.Add("sessionId", lr.sessionId);
Session.Add("url", lr.serverUrl);
Session.Add("userId", lr.userId);
sforce.Lead lead = new sforce.Lead();
}
catch (Exception ex) {
lblException.Text = ex.Message;
}
binding.Url = Session["url"].ToString();
// Create an account object to send to the service
Credco.Web.SignUp.sforce.Lead sfLead = new Credco.Web.SignUp.sforce.Lead();
// Set several properties
sfLead.FirstName = "Paulo";
sfLead.LastName = "Morales";
sfLead.LeadSource = "Testing";
// Add the account to an array of SObjects
sforce.sObject[] records = new sforce.sObject[] {sfLead};
// Invoke the create call, passing in the account properties
// and saving the results in a SaveResult object
sforce.SaveResult[] saveResults = binding.create(records);
// Access the new ID
String newID = saveResults[0].id;
}
-
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply
Inserting a web to lead to salesforce.com
Hi, I am new to salesforce and I am trying to create an asp.net app in c# that will insert leads to salesforce.com from our company's corporate website. I have created a developer account, downloaded the wsdl and added a reference to it in my project and all seems to be working well. But now I need to know how I can insert a record into salesforce.com. Is there any sample code that I can look at in asp.net(c#)? How do I login to salesforce and insert a record etc.. Thanks in advance.
Paulo
-
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply
External foreign key reference error
I'm trying to create an agreement using the echosign appexchange application in salesforce but I am receiving the error below when I try to create the object.
// Create Agreement object
Sforce.SIGN_Agreement__c sfAgreement = new Sforce.SIGN_Agreement__c();
// Set Agreement object properties
sfAgreement.Recipient__r = contact;
sfAgreement.Name = "Testing";
sfAgreement.sfAgreement.SignatureType__c = "e-Signature";
- Paulo
- August 24, 2007
- Like
- 0
- Continue reading or reply
Error when creating lead using classic asp
- Paulo
- April 04, 2007
- Like
- 0
- Continue reading or reply
retrieving salesforceid through api
// Invoke the create call, passing in the account properties and saving the results in a SaveResult object Sforce.SaveResult[] saveResults = binding.create(records);
</code>
Can salesforce return the id?
- Paulo
- April 13, 2006
- Like
- 0
- Continue reading or reply
Search documents stored on salesforce
- Paulo
- March 28, 2005
- Like
- 0
- Continue reading or reply
Assignment Rule not working
Hi,
I am having problems with the autoassignment rules working when I submit a lead using the api 4.0 into salesforce. The lead owner is always set to the user that I use to log into salesforce. How can I get my app to use the autoassign rules I have set up in salesforce? I am using the 4.0 api, asp.net and c# to develop my app.
- Paulo
- September 13, 2004
- Like
- 0
- Continue reading or reply
Code pointing to reference.cs on dev environment in production
I'm getting this error below when I put my files into production for some reason. I noticed that the error below is pointing to files
in the wrong directory (it looks like my dev environment). I can't find where it is referencing the directory below anywhere in my code. Any ideas why it's pointing to that
directory (highlighted in red below).
System.Net.HttpWebRequest.CheckFinalStatus() +673 System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) +75 System.Net.HttpWebRequest.GetRequestStream() +132 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +105 Credco.Web.SignUp.sforce.SforceService.login(String username, String password) in c:\wwwdev$\signup\Web References\sforce\Reference.cs:46 Credco.Web.SignUp.AmericorpSatellite.createLead(Customer c) in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:133 Credco.Web.SignUp.AmericorpSatellite.submitBtnClick() in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:117 Credco.Web.SignUp.AmericorpSatellite.Page_Load(Object sender, EventArgs e) in c:\wwwdev$\signup\mortgage\americorp\default.aspx.cs:80 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731
Message Edited by Paulo on 08-24-2004 03:46 PM
- Paulo
- August 24, 2004
- Like
- 0
- Continue reading or reply
Getting the following error when I try to release my webapp.
I am releasing an application that I have created on to another server that uses the sforce API 4.0 and the web app was written in C#. But I am getting the following error. Any ideas?
The underlying connection was closed: Unable to connect to the remote server.
|
- Paulo
- August 19, 2004
- Like
- 0
- Continue reading or reply
Submitting a lead to Salesforce
Hi,
I am trying to submit a lead to salesforce with asp.net in c# and am not having any luck. The code below executes fine but nothing is getting submitted to my salesforce development site. What login and pwd am I suppose to be using and what access rights should the login have? Am I missing something? When I execute the code below it does not return an id with saveResults.
private void createLead() {
//Create the proxy binding and login
sforce.SforceService binding = new sforce.SforceService();
sforce.LoginResult lr = binding.login("login", "pwd");
binding.SessionHeaderValue = new sforce.SessionHeader();
binding.SessionHeaderValue.sessionId = lr.sessionId;
binding.Url = lr.serverUrl;
// Create an account object to send to the service
Credco.Web.SignUp.sforce.Lead sfLead = new Credco.Web.SignUp.sforce.Lead();
// Set several properties
sfLead.FirstName = "Test";
sfLead.LastName = "Tester";
sfLead.LeadSource = "Testing";
// Add the account to an array of SObjects
sforce.sObject[] records = new sforce.sObject[] {sfLead};
// Invoke the create call, passing in the account properties
// and saving the results in a SaveResult object
sforce.SaveResult[] saveResults = binding.create(records);
// Access the new ID
String newID = saveResults[0].id;
}
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply
Invalid_Session_ID: Invalid Session ID found in SessionHeader
I think I'm on the right track to creating a lead but I get a "Invalid_Session_ID" error when I try to add the lead. Code is posted below. Am I missing something or what am I doing wrong?
private void createLead() {
//Create the proxy binding and login
sforce.SforceService binding = new sforce.SforceService();
try {
sforce.LoginResult lr = binding.login("login", "pwd");
Session.Add("sessionId", lr.sessionId);
Session.Add("url", lr.serverUrl);
Session.Add("userId", lr.userId);
sforce.Lead lead = new sforce.Lead();
}
catch (Exception ex) {
lblException.Text = ex.Message;
}
binding.Url = Session["url"].ToString();
// Create an account object to send to the service
Credco.Web.SignUp.sforce.Lead sfLead = new Credco.Web.SignUp.sforce.Lead();
// Set several properties
sfLead.FirstName = "Paulo";
sfLead.LastName = "Morales";
sfLead.LeadSource = "Testing";
// Add the account to an array of SObjects
sforce.sObject[] records = new sforce.sObject[] {sfLead};
// Invoke the create call, passing in the account properties
// and saving the results in a SaveResult object
sforce.SaveResult[] saveResults = binding.create(records);
// Access the new ID
String newID = saveResults[0].id;
}
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply
Inserting a web to lead to salesforce.com
Hi, I am new to salesforce and I am trying to create an asp.net app in c# that will insert leads to salesforce.com from our company's corporate website. I have created a developer account, downloaded the wsdl and added a reference to it in my project and all seems to be working well. But now I need to know how I can insert a record into salesforce.com. Is there any sample code that I can look at in asp.net(c#)? How do I login to salesforce and insert a record etc.. Thanks in advance.
Paulo
- Paulo
- August 04, 2004
- Like
- 0
- Continue reading or reply