Good morning Experts,
I need to create a "Select contact" pop-up box on a customer's website that allows them to select a contact from their CRM database. They are using Microsoft CRM 3.0, I'm developing in ASP.Net 2.0
I'm using the CRM web services .RetrieveMultiple method to do the search, user types in a contact name like "smith" and behind-the-scenes I'm building a CRM query to search for %SMITH% and display the results in a datagrid.
The problem is I'd like to display the account (company) name along with each contact. When I execute the query I get back a BusinessEntityCollection containing all the contacts, and each contact has an AccountID property, but I can't figure out how to get the account name without retrieve the Account object for each AccountID.
Is there any way to retrieve the first and last names of a Contact, along with their associated Account's name, in a single query?