Access MS CRM Web Services from an External Application / Javascript

Is there a way to call the MS CRM web service from JavaScript from a web page that is NOT a CRM web page (i.e. not loading or saving the event in CRM form, but from a separate web page)? Second question: is there a way to invoke the MS CRM web service from VBScript?

Ideally, I would like to do this in CRM 2011, but would be glad to have an example from CRM 4.0.

I think I will have to write a wrapper web service to do this, but I would prefer not to go this route if necessary.

+3
source share
3 answers

From my reading and experimentation, it is impossible to derive the oData endpoint from an external application that is not hosted in Dynamics CRM.

OData Visual Studio. OData Dynamics CRM . ( , Azure AppFabric Dynamics CRMs OData service.) -, Silverlight XAP JavaScript, CRM- OData .

. http://my.safaribooksonline.com/book/-/9780470568149/chapter-22-working-with-server-side-customizations/585

, WCF - .

+2

CRM 2011 OData. OData - RESTful , -. CRUD (Create, Read, Update, Delete) CRM. JSON, JavaScript. SDK, OData CRM 2011

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0c7dcc45-9d41-4e2e-8126-895517b4274c

CRM 4 , , , Javascript, : http://danielcai.blogspot.com/2010/01/crm-web-service-javascript-toolkit.html

+2

Just to update the answer, it looks like you can call the OData endpoint from an external resource (CRM 2013). http://msdn.microsoft.com/en-us/library/dn531009.aspx

+1
source

Source: https://habr.com/ru/post/1790789/


All Articles