Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

Pre-filtering in Fetch-based Reports, ms crm 2011

$
0
0

Hi,

I am using Fetch XML in my report and i wanted to implement Pre-Filtering.

I have an entity by name "new_entityone" is linked with an another entity named "new_eventregistration".

I have used the below code and seems like pre filtering is applied for only main entity ie. "new_entityone".

How to enable pre-filtering for both parent entity and linked entity.?

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"><entity name="new_entityone" enableprefiltering="1" prefilterparametername="FilteredEvent"><attribute name="new_name" /><attribute name="new_email" /><attribute name="createdon" /><order attribute="new_name" descending="false" /><link-entity name="new_eventregistration" from="new_entityoneid" to="new_entityoneid" alias="alianname" enableprefiltering="1" prefilterparametername="FilteredEventReg"><attribute name='new_total'/><link-entity name="contact" from="contactid" to="new_registrantid" alias="contact"><attribute name="lastname" /></link-entity></link-entity></entity></fetch>
While creating report , i have chosen Related Record Types = new_entityone,new_eventregistration.


Thanks and Regards.


Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>