web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

recursive fetch xml ?

(0) ShareShare
ReportReport
Posted on by

hi all,

I am trying to get the complete list of users with direct or indirect reporting to the logged in user. for the same i am tring to write the fetch xml statement.

as usual i first wrote the sql statement and then tried to convert it in the fetch xml but this time i wrote a CTE statement.

and now i am stuck in how to convert the sql CTE queries to fetch xml query ??

do you have any suggestion on how to do that ?

or any other way to write the recursive fetchxml query ?

*This post is locked for comments

I have the same question (0)
  • Ashwini S Profile Picture
    5 on at

    Hi All,

    I do have similar requirement to create a view which will retrieve logged in user's activities and his reportees activities.

    Pls let me know if this is fesible with fetch XML query? Do you have any suggestion on how to do that ?

    Regards,
    Ashwini S

     

     

     

     

  • suresh maurya Profile Picture
    630 on at

    For testing of FetchXML, you can test here online http://msxrmtools.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans