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.