Creating a report
You have two options for creating a report, one via the configuration page and the other via a symbol.
Creating a report via the configuration page

- 1. Open the server configuration page.
- 2. Go to the configuration of TcHmiReporting.
- 3. Select the User-defined configuration area.
- 4. Select your report in the Report generation grouping.
- 5. Click on Create to generate the report.
- The report is located in the path you have defined or in the default path. (Projekt Server Pfad /TcHmiReporting/reports)
Creating a report via a symbol
Write the TcHmiReporting.OrderReport symbol with the name of the report you want to create. You receive feedback from the server about the new request and which requests are currently being processed via a Callback function. If an error occurs, it will be returned to you.
TcHmi.Symbol.writeEx('%s%TcHmiReporting.OrderReport%/s%', 'Beckhoff', function (data) {
if (data.error === TcHmi.Errors.NONE) {
let requestGuid = data.value.currentGuid;
let reportsInProgress = data.value.inProgress;
} else {
// Handle error...
}
});