2013-03-26 69 views
0

为什么我可以在LayoutXml中使用不在FetchXml中的字段?
CRM 2011 LayoutXml使用字段未定义在对应的FetchXml中

我本来认为使用字段中LayoutXml它必须是在FetchXml,但这个工程:

  <layoutxml> 
      <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1"> 
      <row name="result" id="incidentid"> 
       <cell name="title" width="150" /> 
       <cell name="ticketnumber" width="150" /> 
       <cell name="prioritycode" width="150" /> 
       <cell name="createdon" width="150" /> 
       <cell name="plate_businessunit" width="100" /> 
       <cell name="ownerid" width="100" /> 
       <cell name="createdby" width="100" /> 
       <cell name="plate_acknowledgeby" width="100" /> 
       <cell name="followupby" width="100" /> 
       <cell name="a_4b5945b8a4a64613afc1ae1d5e6828c7.name" width="100" /> 
       <cell name="a_4b5945b8a4a64613afc1ae1d5e6828c7.plate_classification" width="150" /> 
      </row> 
      </grid> 
     </layoutxml> 
     <querytype>0</querytype> 
     <fetchxml> 
      <fetch version="1.0" output-format="xml-platform" mapping="logical"> 
      <entity name="incident"> 
       <order attribute="title" descending="false" /> 
       <link-entity alias="a_4b5945b8a4a64613afc1ae1d5e6828c7" name="account" from="accountid" to="customerid" link-type="outer" visible="false"> 
       <attribute name="name" /> 
       <attribute name="plate_classification" /> 
       </link-entity> 
      </entity> 
      </fetch> 
     </fetchxml> 
     <LocalizedNames> 
      <LocalizedName description="All Cases" languagecode="1033" /> 
     </LocalizedNames> 
     </savedquery> 

回答

1

可能是因为在布局XML CRM自动指定字段返回这些字段。

相关问题