有没有什么方法可以从非 CRM 网页的网页(即,不在 CRM 表单的加载或保存事件中,而是从独立的网页)通过 JavaScript 调用 MS CRM Web 服务?第二个问题:有没有办法从 VBScript 调用 MS CRM Web 服务?
理想情况下,我想在 CRM 2011 中执行此操作,但很高兴有来自 CRM 4.0 的示例。
我想我将不得不编写一个包装器 Web 服务来执行此操作,但除非必要,否则我宁愿不走那条路。
最佳答案
根据我的阅读和实验,无法从未托管在 Dynamics CRM 中的外部应用程序调用 oData 端点。
Using the OData endpoint in Visual Studio The OData service in Dynamics CRM does not permit authentication from external applications. (An exception to this is if the external application uses the Azure AppFabric Service Bus to pass messages between it and Dynamics CRM’s OData service.) However, a Web resource such as a Silverlight XAP file or a JavaScript file that is hosted in a Dynamics CRM solution can use the OData service as a data source.
我的理解是 WCF 是用于外部应用程序的方式。
关于javascript - 从外部应用程序/Javascript 访问 MS CRM Web 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4937117/