简体   繁体   English

MS Dynamics Web服务

[英]MS Dynamics Webservice

I am using MS Dynamics CRM 4 and requesting contacts in a list using the Web Service. 我正在使用MS Dynamics CRM 4,并使用Web服务在列表中请求联系人。 My only filter I am applying is listname. 我要应用的唯一过滤器是列表名。

The problem is that in Dynamics the list has 3000 members but the web service is only returning 2200. 问题在于,在Dynamics中,该列表有3000个成员,但Web服务仅返回2200。

Anyone know why there is a difference? 有人知道为什么会有区别吗? All records are of the same type and I have eliminated those that are not active. 所有记录都属于同一类型,因此我删除了那些无效的记录。


Looking into this further it seems that when you look at the marketing list in dynamics the contact appears. 进一步研究似乎以动态方式查看营销列表时会出现该联系人。 However if you open the contact record the marketing list does not appear on the contact record. 但是,如果您打开联系人记录,则营销列表不会出现在联系人记录中。

There are restrictions on count of records can be returned with single request and you should avoid situation downloading large amount with single request. 单个请求可以返回的记录数有限制,并且应该避免单个请求下载大量记录的情况。

I found sample of code for CRM 2011, you should have something like this http://social.microsoft.com/Forums/en-US/80c1eb70-81db-49d4-8dc8-4cd04f4ae37e/retrive-more-than-5000-records-from-crm-2011-using-web-service-and-c?forum=crmdevelopment 我发现了CRM 2011的代码示例,您应该拥有类似http://social.microsoft.com/Forums/zh-CN/80c1eb70-81db-49d4-8dc8-4cd04f4ae37e/retrive-more-than-5000-records的记录-crm-2011年使用网络服务和c?论坛= crmdevelopment

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM