无法拉出没有使用CRM SDK FetchXML绑定的帐户的联系人

问题描述

使用下面的fetchxml,它仅拉动绑定了帐户的联系人。我想拉出一个绑定了一个帐户的联系人(如果是帐户名),也想拉一个没有绑定帐户的联系人。我有外部联接,但仍然无法正常工作。下面的fetchxml仅提取绑定了帐号的联系人,而不提取没有帐户信息的所有活动联系人。

<fetch top="50" >
  <entity name="contact" >   
    <attribute name="emailaddress1" />
    <attribute name="lastname" />    
    <attribute name="firstname" />    
    <attribute name="accountidname" />
    <attribute name="accountid" />
    <filter type="and" >
      <condition attribute="statecode" operator="eq" value="1" />
    </filter>
    <link-entity name="account" from="accountid" to="accountid" link-type="outer" >
      <attribute name="name" />
    </link-entity>
  </entity>
</fetch>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)