我最近开始使用Microsoft CRM 2011并下载了CRM 2011开发人员套件,以便让自己快速了解CRM的各个方面但我遇到了一个小问题:其中一个练习可以生成一个报告CRM然后下载FetchXML,然后将其加载到BIDS内的报告中。在CRM中,查询返回我期望的内容(所有联系人记录),但是当我从BIDS中运行相同的查询时,它只返回作为样本数据加载的联系人记录,而不是我作为部分加载的其他联系人记录这个练习。
相关的FetchXML是:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="contact">
<attribute name="fullname" />
<attribute name="contoso_type" />
<attribute name="parentcustomerid" />
<attribute name="contactid" />
<attribute name="contoso_lastworkoutdate" />
<order attribute="fullname" descending="false" />
<filter type="and">
<filter type="or">
<condition attribute="lastusedincampaign" operator="olderthan-x-months" value="3" />
<condition attribute="lastusedincampaign" operator="null" />
</filter>
</filter>
</entity>
</fetch>
是否有一些设置,运动文档被忽略,需要设置为下载其他联系人或我完全错过了其他内容?
---编辑---
值得注意的是,当RDL上传回CRM时,我希望报告中的所有数据都存在,但是当它是本地数据时,它只包含样本数据。
答案 0 :(得分:0)
本地服务器上存在安全问题。
因为你正在使用FilteredViews(我希望和推测)。这些视图会过滤掉您无权访问的记录。您无权在本地访问这些特定记录,但在您可以访问CRM上。