• OT
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 14
    Questions
  • 18
    Replies

Hi,

I've added a contact via the API ("Bob Smith"). If I search for this contact via the application, I'm told there are no records found. However, Bob Smith appears in the recent items and I can open the Contact page by selecting this item. I can also enter the Id field in the URL and I can get to the contact page.

Any explanation of this would be appreciated.

Thanks in Advance,

 

OT

Hi there,

I've used the describe object on the Contact object to return all field names, field types and lengths.

For some reason, a custom field that is "Text" and has a field length of 15 accepts entries much longer than that.

When I log into SF.com, I see the contact record with the full, text entry, when I select edit, then the value is truncated to the first 15 characters. So this tells me that the 15 character length is not the true storage size of this field.

What value can I use to get the true length of the field?

Regards,

OT

Hi,

Does anyone know how to dynamically reference the field names in an Object?

I'm populating a dataset from a queryresult. The list of fields and the object it queries is built dynamically so explicity identying each field is not feasible.

For i As Integer = 0 To qResult.records.GetUpperBound(i)

con = CType(qResult.records(i), sforceDEV.Contact)

dsR("FirstName") = con.FirstName

dsT.Rows.Add(dsR)

Next

The Fieldnames in the dataset I'm constructing from a picklist, but for the example here, I've changed it to read:

 dsR("FirstName") for simplicity reasons. The area I need to populate is for each field name in "con".

 

Thanks,

RJ

 

I've been trying unsuccessfully to update a record using the examples provided by salesforce. Could someone PLEASE supply a working VB.net example :

Dim contacts() As String

Dim updateContact As sforce.Contact = New sforce.Contact

'need to have the id so that web service knows which account to update

updateContact.Id = ConID ' my variable that holds the ID of the contact I want to update.

'set a new value for the name property

updateContact.LastName = "Eltesto"

'create one that will throw an error

Dim errorContact As sforce.Contact = New sforce.Contact

errorContact.Id = "SLFKJLFKJ"

errorContact.fieldsToNull = New String() {"Name"}

'call the update passing an array of object

Dim saveResults() As sforce.SaveResult = binding.update(New sforce.sObject() {updateContact, errorContact})

 

Error message is:

"size of request is too large"

 

Thanks

Hi,

Today, my queryfilter api stopped working. It has been running everyday since september without a problem. Has something been changed on your end that would cause it to stop working?

Thanks for your help!

Hi,

Is there a way to automatically request an export of all of my company data using a .Net application? Currently you have to log onto the site and click on the request for an export, and then wait for an email and then click on the link to download the information. It would be great if we could run an application that does the first part for us and then we would just have to wait for the email to download the info.

Just looking for a way to automate this process, any suggestions would be most appreciated!

Thanks!

I'm unable to access the data in one of our custom fields in the opportunity table. I submitted a support call over a week ago and I have yet to receive an answer.

I'm using the Query filter VB.NET example, and I've included in the selectlist the name of my custom field.

(SelectList.Add("00N20000000gyne")

Each time I run execute the app, I receive a "bad field name" error. Could this be permission related?

Thanks,

OT

Hi There,

We have a custom field on the Opportunity form. What table stores the value of the field? I've found the field name in the CustomFiledDefinition table, but I can't find it's value.

Also...

How can I relate an Opportunity to a company name without having a Lead previously created?

Thanks!

René