为什么我可以在 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>