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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / DaxGeek / Define a Report Provider Class

Define a Report Provider Class

Hossein.K Profile Picture Hossein.K 6,648
1. In the AOT, right-click the Classes node, and then click New Class.

2. Right-click the new class, click
Rename, and then enter "SrsRDPSampleClass".

3. Expand SrsRDPSampleClass, right-click
classDeclaration, and then click View Code.

4. In the code editor, edit the class so that it contains the following code.



1
2
3
4
5
6
7
8
9
[
SRSReportQueryAttribute (querystr(Cust)),
SRSReportParameterAttribute(classstr(SrsRDPContractSample))
]
public class SrsRdpSampleClass extends
SRSReportDataProviderBase
{
TmpCustTableSample tmpCust;
}

5. Save the class and close the editor.


Best Regards,
Hossein Karimi

Comments

*This post is locked for comments