User Tools

Site Tools


Plugin installed incorrectly. Rename plugin directory 'swiftmail.backup' to 'swiftmail'.
This translation is older than the original page and might be outdated. See what has changed.
en:software:tim:smartform:report_button

Table of Contents

Report Buttons

It is possible to include a button in the smartform which allows to create report with a click. Therefor the following code has to be included and adjusted in the smartform.

<button type="button" onbuttonclick="generateReport([{showActivitiesTable:'true',showActivitiesNotes:'true',reportType:'PIReport',showInstanceNotes:'true',showSmartForm:'true',showProcessGraphic:'true',reportFormat:'pdf',reportLanguage:'de'}])">Report Button</button>

The attribute “onbuttonclick” defines which functions should be executed by the handler.

  • showActivitiesTable: Specifies whether the report should have a task table or not.
  • showActivitiesNotes: Specifies whether the task's notes belong in the report or not.
  • reportType: PIReport the instancereport will always be created.
  • showInstanceNotes: Should the report include the instancenotes?
  • showSmartForm: Should a listing of the processvariables be included?
  • showProcessGraphic: Is a processgraphic neeeded in the process?
  • reportFormat: Should the report be created in a pdf- or a xls format.
  • reportLanguage: Reportlanguage. So far English and German are possible.
en/software/tim/smartform/report_button.txt · Last modified: 2021/07/01 09:52 (external edit)