使用CSDL文件添加Dynamics CRM OData服务吗? [英] Add Dynamics CRM OData Service Using CSDL file?

查看:79
本文介绍了使用CSDL文件添加Dynamics CRM OData服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨-

在LS2012中,我尝试从CRM 2011中添加OData服务,但是却收到了可怕的此服务似乎没有有效的$ metadata文档"的提示.因为我有一个与其属性之一同名的实体.我无法重命名 属性或以其他方式解决CRM中的此问题,所以我的问题是:是否可以生成csdl文件(或等效文件),删除有问题的实体,然后使用它将OData服务添加到我的LS项目中?我知道我可以使用WCF做到这一点,但是我做不到 似乎可以使其与OData一起使用.不确定是否可行,但会有所帮助.

In LS2012, I try to add an OData service from CRM 2011, but I get the dreaded "This service does not appear to have a valid $metadata document" because I have an entity that shares the same name as one of its properties. I can't rename the property or otherwise fix this issue in CRM, so my question is: is there a way to generate a csdl file (or equivalent), remove the offending entity, and then use it to add the OData service to my LS project? I know I can do this with WCF, but I can't seem to get it to work with OData. Not sure if this is possible, but any help would be appreciated.

预先感谢.

推荐答案

我听说,在CRM 2013中,连接CRM 2011 OData服务可能会部分起作用,但是我尚未亲自尝试. (今天)在某些方面缺乏经验,但在接下来的12个月中可能会有所改善.

I have heard that connecting the CRM 2011 OData service may work partially in VS2013 RC but I am yet to try this myself. The experience is lacking in some aspects (today) but looks likely to improve over the next 12 months).

与此同时,您可以尝试使用我们流行的免费Dynamics CRM数据适配器:

Meanwhile, you could try our popular free Dynamics CRM data adapter:

用于Dynamics CRM Online的Xpert360Lightning数据适配器和内部部署

今天,任何真正繁重的使用或定制的CRM系统都需要专用的定制适配器.我们确实接受这些请求,并且它们与免费的WCF RIA服务LightSwitch扩展类似.为了更好地面向未来,最好做 与OData或WebAPI相同,选择由您选择.

Any real heavy usage or customized CRM system needs a dedicated custom adapter today. We do accept requests for these and they are similar architecture to the free WCF RIA service LightSwitch extension. For better future-proofing it is may better to do the same but as OData or WebAPI, the choice is yours.

欢呼

戴夫


这篇关于使用CSDL文件添加Dynamics CRM OData服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆