I'm trying to update my CRM online Report with this fetchxml below, but there seems to be a problem with it as the Report is not updating and keeps using its old version. I can't seem to spot the mistake.
I'm using a link-entity within another link-entity, as i need to retrieve the Company State/Province of the Regarding Contact. I adjusted the fetchxml (by removing report-related attributes) and tested it using FetchXML tester and the results were displayed correctly. However, I'm not sure why it's not working in the Report.
<fetch distinct="false" no-lock="false" mapping="logical"> <entity name="activitypointer" enableprefiltering="1" prefilterparametername="CRM_FilteredActivityPointer"> <attribute name="subject"/> <attribute name="activitytypecode" /> <attribute name="regardingobjectid"/> <attribute name="createdon" /> <attribute name="ownerid"/> <attribute name="description" /> <order attribute="createdon" descending="false" /> <link-entity name="contact" to="regardingobjectid" from="contactid" link-type="outer" alias="LE_2c4d42c2005bd7bd1182296bc28884ac"> <attribute name="address1_stateorprovince" alias="LE_2c4d42c2005bd7bd1182296bc28884ac_address1_stateorprovince" /> </link-entity> <link-entity name="contact" to="regardingobjectid" from="contactid" link-type="outer" alias="LE_41be2d64ce0292547b92742c2b1e657d"> <attribute name="new_aum" alias="LE_41be2d64ce0292547b92742c2b1e657d_new_aum" /> <attribute name="new_aum_base" /> <link-entity name="transactioncurrency" to="transactioncurrencyid" from="transactioncurrencyid" link-type="outer" alias="LE_ac9e1fa646304b159c55d988e1a081da"> <attribute name="currencysymbol" alias="LE_ac9e1fa646304b159c55d988e1a081da_currencysymbol" /> <attribute name="currencyprecision" alias="LE_ac9e1fa646304b159c55d988e1a081da_currencyprecision" /> </link-entity> </link-entity> <link-entity name="contact" to="regardingobjectid" from="contactid" link-type="outer" alias="LE_61a86a1b78ce248cce0db621377db34d"> <attribute name="company" alias="LE_61a86a1b78ce248cce0db621377db34d_company" /> <link-entity name="account" to="parentcustomerid" from="accountid" link-type="outer" alias="LE_b4797335e87b82e46e5d37e9db00c5ac"> <attribute name="address1_stateorprovince" alias="LE_b4797335e87b82e46e5d37e9db00c5ac_address1_stateorprovince" /> </link-entity> </link-entity> <link-entity name="contact" to="regardingobjectid" from="contactid" link-type="outer" alias="LE_06ca73c22aa9b724c87a2669a6621b3b"> <attribute name="address1_city" alias="LE_06ca73c22aa9b724c87a2669a6621b3b_address1_city" /> </link-entity> </entity> </fetch>