rappen / FetchXMLBuilder

FetchXML Builder for XrmToolBox and Microsoft Dynamics 365 / CRM
https://fetchxmlbuilder.com/
GNU General Public License v3.0
133 stars 55 forks source link

Updating fields to be shown not working in latest version #954

Closed menegator closed 11 months ago

menegator commented 1 year ago

In the latest version updating fields to be shown is not working. If I want to add a field I have to paste again the new FetchXML into a new tab.

rappen commented 1 year ago

Can you try to "Reset Layout" in the bottom of the Result view? image

Can you give me more info? I can't reproduce the issue currently.

menegator commented 1 year ago

Yes, I have tried to "Reset Layout" at no avail.

I added the following fields:

      <attribute name="dot_saporderreason" />
      <attribute name="dot_saporderstatus" />
      <attribute name="dot_wcsbasket" />
      <attribute name="dot_wcskretailbasketid" />

No changes into the grid:

image

Layout XML remains the same:

<grid name="resultset" object="11053" jump="dot_deliverycode" select="1" icon="1" preview="1">
  <row name="result" id="dot_sapdeliveryid">
    <cell name="dot_deliverycode" width="90" />
    <cell name="modifiedon" width="110" />
    <cell name="dot_movementstatus" width="128" />
    <cell name="dot_processingstatus" width="133" />
    <cell name="dot_sapdeliveryid" width="208" />
    <cell name="dot_deliverydate" width="110" />
    <cell name="dot_deliverycreationdate" width="110" />
    <cell name="dot_deliverytruckid" width="96" />
    <cell name="WO_Number" width="83" />
    <cell name="WO_ID" width="208" />
    <cell name="Installer" width="197" />
    <cell name="Originating_WO" width="107" />
    <cell name="wo.dot_servicesku" width="88" />
  </row>
</grid>

I open a new tab and paste the fetchXML

The new fields appear correctly:

image

LayoutXML is updated accordingly

<grid name="resultset" object="11053" jump="dot_deliverycode" select="1" icon="1" preview="1">
  <row name="result" id="dot_sapdeliveryid">
    <cell name="dot_deliverycode" width="90" />
    <cell name="modifiedon" width="110" />
    <cell name="dot_movementstatus" width="128" />
    <cell name="dot_processingstatus" width="133" />
    <cell name="dot_sapdeliveryid" width="208" />
    <cell name="dot_deliverydate" width="110" />
    <cell name="dot_deliverycreationdate" width="110" />
    <cell name="dot_deliverytruckid" width="96" />
    <cell name="ord.dot_saporderreason" width="91" />
    <cell name="ord.dot_saporderstatus" width="108" />
    <cell name="ord.dot_wcsbasket" width="91" />
    <cell name="ord.dot_wcskretailbasketid" width="99" />
    <cell name="WO_Number" width="83" />
    <cell name="WO_ID" width="208" />
    <cell name="Installer" width="197" />
    <cell name="Originating_WO" width="107" />
    <cell name="wo.dot_servicesku" width="88" />
  </row>
</grid>
rappen commented 1 year ago

Hopefully these features show solve you problem... See #962 Released "soon"...

rappen commented 11 months ago

Closing this issue, probably works better from version 1.2023.8.2. Please reopen if needed!