• Brisco
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 12
    Replies
Is there anything in the Salesforce API that stores previous queries that were performed by a specific user?
We're essentially trying to get a list of past queries performed (and the time) by a user over the last 2 days.
  • February 22, 2006
  • Like
  • 0
We were connecting to the SalesForce endpoint with the following URL:
http://www.salesforce.com/servlet/servlet.SoapApi
(old version of the API).

Since this morning, that URL no longer seems to be valid.

Anyone know if this is permanent? If so, is there a new URL?

Thanks,
Mike
  • January 10, 2006
  • Like
  • 0
I've been digging through the documentation and can't find the answer, though I'm sure it's an easy one.

Creating a Lead is simple enough, but I can't find how to set values to our custom fields we have for a Lead.

Any ideas?
Thanks,
Mike
  • November 07, 2005
  • Like
  • 0

I'm using the 2.0 API and trying to do a simple login, something I've used before successfully.  I'm not sure what the difference is, but I keep getting the following error:

java.lang.UnsupportedClassVersionError: salesforce/SalesforceConnectorBindingStub (Unsupported major.minor version 48.0)

API_VERSION is set to "2.0".  The classes I'm using are the same ones I've always used.  The Port Address is https://www.salesforce.com/servlet/servlet.SoapApi.

Any ideas?

Thanks,

Mike

  • December 27, 2005
  • Like
  • 0
Is the documentation for API 2.0 available for download?  I've only been able to find 5.0.
  • December 14, 2004
  • Like
  • 0

From sample.java:

"       * There are 2 ways to get the binding, one by passing a url to
       * the getSoap() method of the SforceServiceLocator,
       * the other by not passing a url.

"

I'm attempting to use the first way, by passing a url into the method.  Problem is I'm not sure what that URL should be.

I've tried https://na1-api.salesforce.com/services/Soap/c/5.0 with no luck. 

Anything starting with "https" gives me the MalformedURLException: unknown protocol: https

Thanks for any help,

Mike

  • December 14, 2004
  • Like
  • 0

I'm attempting to insert a date into the DueDate field.  I've tried a few different date formats:

2001-10-03

1985-08-13 15:03

2000-10-31T01:50:00

All keep giving me the error:

required type dateTime.iso8601 on field dueDateOnly

Any ideas on what the correct format should be?

 

  • December 30, 2004
  • Like
  • 0

Using the Java API, I'm inserting a new Lead with an Open Activity.  I'm trying to set the Due Date field, but keep getting a NullPointerException.

task[5].setKey("dueDateTime");   

task[5].setValue(dt.getMonth() + "/" + dt.getDate() + "/" + (dt.getYear()+1900));

 

All other fields work fine.  Problem is definitely with the Due Date field.

Actually, the easiest solution would be setting a default for the Due Date field, but I couldn't find how to do that.

Any ideas?

Thanks,

Mike

  • December 29, 2004
  • Like
  • 0

Using Axis, I've been able to insert Leads into SalesForce.  I'd like to be able to add Activity History items at the same time.  I've tried doing a describe on the "task" entity, but get the following error:

faultString: org.xml.sax.SAXParseException: The content beginning "<0" is not legal markup. Perhaps the "0" (&#30 character should be a letter.

Without this describe, I don't know what fields I need to set in creating the task item.

This is assuming that an Activity History item is the same as a Task item.

Thanks for any help,

Mike

  • September 10, 2003
  • Like
  • 0
We were connecting to the SalesForce endpoint with the following URL:
http://www.salesforce.com/servlet/servlet.SoapApi
(old version of the API).

Since this morning, that URL no longer seems to be valid.

Anyone know if this is permanent? If so, is there a new URL?

Thanks,
Mike
  • January 10, 2006
  • Like
  • 0
I've been digging through the documentation and can't find the answer, though I'm sure it's an easy one.

Creating a Lead is simple enough, but I can't find how to set values to our custom fields we have for a Lead.

Any ideas?
Thanks,
Mike
  • November 07, 2005
  • Like
  • 0

I'm using the 2.0 API and trying to do a simple login, something I've used before successfully.  I'm not sure what the difference is, but I keep getting the following error:

java.lang.UnsupportedClassVersionError: salesforce/SalesforceConnectorBindingStub (Unsupported major.minor version 48.0)

API_VERSION is set to "2.0".  The classes I'm using are the same ones I've always used.  The Port Address is https://www.salesforce.com/servlet/servlet.SoapApi.

Any ideas?

Thanks,

Mike

  • December 27, 2005
  • Like
  • 0

I'm attempting to insert a date into the DueDate field.  I've tried a few different date formats:

2001-10-03

1985-08-13 15:03

2000-10-31T01:50:00

All keep giving me the error:

required type dateTime.iso8601 on field dueDateOnly

Any ideas on what the correct format should be?

 

  • December 30, 2004
  • Like
  • 0

Using the Java API, I'm inserting a new Lead with an Open Activity.  I'm trying to set the Due Date field, but keep getting a NullPointerException.

task[5].setKey("dueDateTime");   

task[5].setValue(dt.getMonth() + "/" + dt.getDate() + "/" + (dt.getYear()+1900));

 

All other fields work fine.  Problem is definitely with the Due Date field.

Actually, the easiest solution would be setting a default for the Due Date field, but I couldn't find how to do that.

Any ideas?

Thanks,

Mike

  • December 29, 2004
  • Like
  • 0

Using Axis, I've been able to insert Leads into SalesForce.  I'd like to be able to add Activity History items at the same time.  I've tried doing a describe on the "task" entity, but get the following error:

faultString: org.xml.sax.SAXParseException: The content beginning "<0" is not legal markup. Perhaps the "0" (&#30 character should be a letter.

Without this describe, I don't know what fields I need to set in creating the task item.

This is assuming that an Activity History item is the same as a Task item.

Thanks for any help,

Mike

  • September 10, 2003
  • Like
  • 0