动态CRM 2011 FetchXml结果与模式名称连接

时间:2012-06-15 07:27:18

标签: javascript dynamics-crm-2011 crm fetchxml

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 Mark John“

1 个答案:

答案 0 :(得分:0)

我认为你指的是引用here的文件库?

听起来你只是使用了错误的属性来访问该值。发布实际生成下面提到的输出的行,我可以告诉你要纠正它的内容。

  

结果采用以下格式

     

stex_fullnamestex_consultantJohn Mark John