【发布时间】:2012-06-15 07:27:17
【问题描述】:
MY Fetch xml 如下,我使用 fetchUtil 来获取结果。但在结果链接实体结果中始终与模式名称连接。如何获取没有模式名称的字符串值?
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="xxx_opportunityresource">
<attribute name="xxx_opportunityresourceid" />
<attribute name="xxx_name" />
<order attribute="xxx_name" descending="false" />
<filter type="and">
<condition attribute="xxx_opportunity" operator="eq" uiname="First Opp" uitype="opportunity" value="{7904E53C-A7AB-E111-8DF0-00155D01AB06}" />
<condition attribute="xxx_opportunityresourcestatus" operator="eq" value="5" />
</filter>
<link-entity name="xxx_consultant" from="xxx_consultantid" to="xxx_resource" visible="false" link-type="outer" alias="a_7cb2d7e74eabe1118df000155d01ab06">
<attribute name="xxx_fullname" />
</link-entity>
结果采用以下格式
stex_fullnamestex_consultant约翰马克约翰"
【问题讨论】:
-
为什么不试试 XrmServiceToolkit 是一个阅读文档xrmservicetoolkit.codeplex.com/documentation ... 更简单的工作 js + fetchxml!
标签: javascript dynamics-crm-2011 crm fetchxml