This project is read-only.
1
Vote

Error when trying to $select attributes of type Activity Party

description

Design a query on the PhoneCallSet using any condition. Where you select attributes, choose the attributes from the list that correspond to the PhoneCall entity's to and from attributes, and then try executing the query. The query is Unsuccessful and in Fiddler you can see the following error:
 
"Type 'Microsoft.Crm.Sdk.Data.Services.PhoneCall' does not have a property named 'to'."
 
LinqPad agrees with this error as is does not list PhoneCallSet attributes for the to and from attributes.

comments

RhettClinton wrote Jun 17, 2011 at 11:00 AM

I havent' had a chance to fully explore this yet but you can retrieve related Parties if you are looking to get the To recipients by selecting the One To Many Tab and then the phonecall_activity_parties relationship. The query will look similar to this.

/PhoneCallSet?$select=phonecall_activity_parties&$expand=phonecall_activity_parties

Cheers,
Rhett

wrote Feb 21, 2013 at 11:51 PM