JavaScript How to get value of PartyList field using Javascript and oData in CRM 2011

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 the partylist field Resources 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 an error that the Resources field was not found.

I tried without the select, and debugged the returned oData object, but noticed that 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?

Answer:1

I have created a Button in Bootstrap and assigning an attribute to it. Upon clicking the button, I wish to get the attribute value in the function. However, when I pass $element.currentTarget to ...

I have created a Button in Bootstrap and assigning an attribute to it. Upon clicking the button, I wish to get the attribute value in the function. However, when I pass $element.currentTarget to ...

  1. button attributes bootstrap

I have this code and I cannot get the second time to format properly: setInterval(function() { var local = new Date(); var localdatetime = local.getHours() + ":" + local.getMinutes() + ":" +...

I have this code and I cannot get the second time to format properly: setInterval(function() { var local = new Date(); var localdatetime = local.getHours() + ":" + local.getMinutes() + ":" +...

  1. format javascript date object
  2. format javascript date string
  3. format javascript date time
  4. format javascript date mm/dd/yyyy
  5. format javascript date output
  6. format javascript date yyyy-mm-dd
  7. format javascript date iso 8601
  8. format javascript date dd/mm/yyyy
  9. format javascript date with moment
  10. format javascript date.now
  11. javascript format date with timezone
  12. javascript format date locale
  13. javascript format date from timestamp
  14. javascript format date time string
  15. javascript format date iso
  16. javascript format date function
  17. javascript format date month name
  18. javascript format date utc
  19. javascript format date dd mmm yyyy
  20. javascript format date without time

(Note: I asked this question on https://github.com/gkz/LiveScript/issues/731 as well) When I use LiveScript in an html file directly, I have no way to run livescript code immediately on seen. For ...

(Note: I asked this question on https://github.com/gkz/LiveScript/issues/731 as well) When I use LiveScript in an html file directly, I have no way to run livescript code immediately on seen. For ...

Are there replacements for the domReady event and the onMutate function in Polymer 0.9? In Firefox the attach event seems to work, but in Chrome the children are not in a proper state at the time of ...

Are there replacements for the domReady event and the onMutate function in Polymer 0.9? In Firefox the attach event seems to work, but in Chrome the children are not in a proper state at the time of ...