我最近开始使用MicrosoftCRM2011并下载了CRM2011开发人员工具包,以便更快地了解客户关系管理的各个方面,但我遇到了一个小问题:其中一个练习是在客户关系管理中生成报告,然后下载FetchXML,然后将其加载到投标中的报告中。在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时,我期望出现在报告中的所有数据都在那里,但是当它在本地时,它只包含示例数据。
发布于 2012-09-25 21:42:35
这是本地服务器上的一个安全问题。
因为您正在使用FilteredViews (我希望&假定)。这些视图可以过滤掉您无权访问的记录。您不能在本地访问这些特定的记录,但可以在CRM上访问。
https://stackoverflow.com/questions/12532293
复制相似问题