• JackShepard
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

I am using describeSObject to get the fields list of the object "contact".

 

However, while I have created some custom fields in the contact object, these custom fields don't appear in the fields list returned when looping on the fields property.

$fields = $mySforceConnection->describeSObject('contact');

foreach($fields->fields as $value){
	echo $value->name.' '.$value->label."\r\n";
}

 When doing so I get all the default contact object fields, but not the custom fields I created for the object.

 

I can't find what I am not doing right, any idea?

 

Thanks in advance for your help.

Hi there,

 

I have 2 questions:

1. When I am editing a contact, I would like to indicate the name of the company the contact is from but I can't find a "company" field in the edit panel

 

2. Is there a company field available in the API contact object?

I can't find a field to relate with a company name here: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contact.htm

 

Many thanks for your help

Hi there,

 

I have 2 questions:

1. When I am editing a contact, I would like to indicate the name of the company the contact is from but I can't find a "company" field in the edit panel

 

2. Is there a company field available in the API contact object?

I can't find a field to relate with a company name here: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contact.htm

 

Many thanks for your help