动态 CRM 2011 FetchXml 结果与架构名称串联

Dynamic CRM 2011 FetchXml results concatenated with schema name

本文关键字:CRM 2011 FetchXml 结果 动态      更新时间:2023-09-26

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_consultantJohn马克·约翰"

我想

你指的是这里引用的库?

听起来您只是使用了错误的属性来访问值。发布实际生成您在下面提到的输出的行,我可以向您展示更正它的内容。

结果采用以下格式

stex_fullnamestex_consultantJohn 马克·约翰