Creating custom reports using data sets
Creating custom reports in Microsoft Visual Studio
- Create a new Visual Basic Class Library in Microsoft Visual Studio:
- In the main menu, click File → New → Project.
- Chose Class Library element in the Templates → Visual C# menu.
- Add a report to the project:
- Click Add New Item on the Project menu.
- In the Add New Item dialog box, select the Report item from the Visual C# Items → Reporting template group.
- Associate the report with a dataset (in the Report Data pane, click New → Dataset...)
- Select an existing data set and set its name to RepDataSet.
Wichtig! This is the only name that will be used for generating reports from data in the Administration and Monitoring Console. - Design the report.
- Create the *.xml file for your report.
- Enable your custom report by copying the XML description file and the report file (*.rdlc) to FlexiCapture's report folder in the FlexiCapture12\CustomReports subfolder of the IIS root folder. When you enable your report, it will become available in the Custom reports submenu of the Administration and Monitoring Console.
Creating custom reports in Microsoft Report Builder
- Start Microsoft Report Builder and create a data source (right-click Data Source in the Report Data pane and click Add Data Source... on the shortcut menu).
Details
- Create a dataset (right-click Datasets in the Report Data pane and click Add Dataset... on the shortcut menu) and set its name to RepDataSet.
Wichtig! This is the only name that will be used for generating reports from data in the Administration and Monitoring Console.
Details
- Open the properties dialog box of the dataset you created (right-click RepDataSet in the Report Data pane and click Dataset Properties on the shortcut menu).
- Select the Fields tab, provide descriptions of the dataset's fieldsand specify other report settings.
- Create the *.xml file for your report.
- Enable your custom report by copying the XML description file and the report file (*.rdl) to the FlexiCapture's report folder in the FlexiCapture12\CustomReports subfolder of the IIS root folder. When you enable your report, it will become available in the Custom reports submenu of the Administration and Monitoring Console.
12.04.2024 18:16:01