【发布时间】:2020-08-27 00:57:51
【问题描述】:
我有一个 fetchxml,它工作正常,直到我向 fetch 添加另一个属性。
<attribute name="ey_b_closed_conversations" alias="isClosed" />
这是我添加到 fetch 中的行,现在它不起作用。 以下代码是完整的 fetchxml。
<fetch mapping="logical" version="1.0" aggregate="true" distinct="false">
<entity name="ey_case_branch_callcenter_inquiry">
<attribute name="ey_s_name" alias="count" aggregate="countcolumn" />
<attribute name="ey_p_action" alias="id" groupby="true" />
<attribute name="ey_b_closed_conversations" alias="isClosed" />
<filter>
<condition attribute="ey_case_sub_subjectid" operator="eq" value="{9E52CB8E-BEA6-E411-AFFF-0050568C0143}" />
<condition attribute="statecode" operator="eq" value="0" />
</filter>
</entity>
</fetch>
我可以在聚合的 fetchxml 中获取的属性数量是否有任何限制? 如何将我的附加(非聚合)属性添加到 fetch?
【问题讨论】:
标签: group-by dynamics-crm aggregate dynamics-crm-2011 fetchxml