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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Identify sql based report

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

how to identify the sql based report in Dynamics 365 8.2? The project manager is requesting the info for presentation, thus i need to prepare for PM.

Thanks

*This post is locked for comments

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    I believe Dynamic CRM 365 only support FetchXml report.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I would suggest to download reports and check datasources or if you have an access to Reporting Services server just log in there and check datasources types for reports.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    Please refer to below post. The steps are provided.

    [View:https://community.dynamics.com/crm/f/117/p/268143/759055#759055:750:50]

    You can create a sql query or console application.

    If you are planning to use console application, use below fetchxml to get the body text and check is the string contain "<ConnectionProperties><DataProvider>SQL</DataProvider>"

    Sample fetchxml 

        var fetchxml = "<fetch distinct='false' mapping='logical' output-format='xml-platform' version='1.0'>" +
                                 "<entity name='report'>" +
                                    "<all-attributes />" +
                                  "</entity>" +
                              "</fetch>";
    
                EntityCollection result = m_service.RetrieveMultiple(new FetchExpression(fetchxml));
    
    
    
                foreach (Entity re in result.Entities)
                {
                    string bodytext = (string)re.Attributes["bodytext"];
                    // put the checking here
                    Console.WriteLine(bodytext);
                }



  • Community Member Profile Picture
    on at

    Hi Temmy,

    i am using onprem , it is definitely supported.

  • Community Member Profile Picture
    on at

    Hi Andrew,

    But i prefer to do it via code/ sql query just in case in future the PM need it again. Anyways, Thanks for the suggestion

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    Thanks for the suggestion, I will give it a try and update here again.

  • Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    Please refer to Check Andrew Butenko's answer. Other is just check the dataset query. If using SQL query, then it is sql based report. :)

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    Thanks your suggestion work like a charm, i will configure the checking myself.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
TNJ_CRM_Team Profile Picture

TNJ_CRM_Team 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans