locked
CRM 2011: Custom web page + odata RRS feed

  • Question

  • Hi

    I am trying a test web application based on CRM 2011.

    I want to retrieve entity record using odata request in this web application.

    HOwever, while doing so, I get this error: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Any idea what I can do for this ?

    Thanks

    Tuesday, November 11, 2014 2:19 PM

Answers

All replies

  • Hi,

    I would prefer you to use the Server side code, not the Odata/REST OR SOAP call...

    Odata is for client side request only... like in the CRM form, in any web resource which deployed in CRM.

    So, in Web Application you can wirte a code in code behind OR you can create a web service of Retrieve from CRM (or whatever you need), then call it like a Odata call.



    Tuesday, November 11, 2014 5:23 PM
  • oData in CRM 2011 it's only available to be called inside CRM, not from external websites.

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Tuesday, November 11, 2014 6:22 PM