function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anu_gAnu_g 

problem with editing the contact details

Hi,
       I was trying to edit the contact details (for a particular contactId).When editing i am getting the correspoding AccountId for the contact,instead of the name.How can i make name of the account to be displayed for that contact.Please help me regarding this(can u give me a sample code?)

Thanks in Advance
Park Walker (TAGL)Park Walker (TAGL)
You will need to modify your query to select the values that you want from other objects, Contact.Account.Name in this case. You might want to take a look at the API documentation at http://www.salesforce.com/us/developer/docs/api/index.htm. Look in 'Understanding API Calls -> Sforce Object Query Language -> Select' for the correct syntax.

Park

[Wouldn't it be great if there were a way to send that as a URL rather than having to spell it all out.]
adamgadamg

For the record, you can right click on the content frame in the doc and get the specific URL you are looking for - ie http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select.htm

 

:smileyhappy: