Tuesday, July 17, 2018

Define a Report Provider Class

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

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...