How to get value of PartyList field using Javascript and oData RRS feed

  • Question

  • Hi,

    due to CRM 2011 online problems with IE10, we have decided to convert all front-end JavaScript from Soap to oData. Everything was going fine, I installed the oData designer, centralized the queries in functions, but i ran into a problem when i tried to retrieve a partylist field for ServiceActivity.

    The oData query I got using the oData Query designer is the following (the guid is a sample)

    ServiceAppointmentSet?$select=Resources&$filter=ActivityId eq guid'83CA6B11-6C0A-E311-8BB5-B499BAFE71A5'

    but in the response i get and error that the Resources field was not found.

    I tried without the select, and debugged the returned oData object, and it doesn't show both Resources and Customers partylist fields that are in ServiceActivity.

    ServiceAppointmentSet?$filter=ActivityId eq guid'83CA6B11-6C0A-E311-8BB5-B499BAFE71A5'

    Does anyone have any ideas?

    Thursday, August 22, 2013 8:05 AM


  • Question was answered on the following stackoverflow link,


    The oData Query provided there is


    Tuesday, August 27, 2013 12:50 PM