Announcements
No record found.
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
I believe Dynamic CRM 365 only support FetchXml report.
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.
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); }
Hi Temmy,
i am using onprem , it is definitely supported.
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
Hi Wei Jie,
Thanks for the suggestion, I will give it a try and update here again.
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. :)
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
TNJ_CRM_Team 2