InBox PrintProcessViewActivity
Version 6.0.4
Creation date 2023-05-09
Resources
Module to generate a customized pdf from a process activity.
Prerequisites
Framework
The following versions of Znuny Framework are supported:
- [6.0.x]
- [6.1.x]
- [6.2.x]
- [6.3.x]
- [6.4.x]
- [6.5.x]
Modules
The following modules are required:
- InBox Core 6.34.20 or superior
Operational system
The following operating systems are required:
- [None]
Software de Terceiros
The following third party software is required:
- [None]
Installation
bin/otrs.Console.pl Admin::Package::Install /path/to/InBox\ PrintProcessViewActivity-6.0.4.opm
Configuration
InBox::PrintProcessViewActivity::Config###ProcessMap
Add ProcessEntityID -> ActivityEntityID and the Template (.tt) to Display Widget.
InBox::PrintProcessViewActivity::Config###FileSystemFields
Inform the names of the dynamic fields of FileSystem that will be displayed.
InBox::PrintProcessViewActivity::Config###TablesFields
Inform the names of the dynamic fields of tables that will be displayed.
InBox::PrintProcessViewActivity::Config###TablesFieldsNotShow
Enter the table field name then the column names that should not appear in the PDF (more than 1 separated by;)
InBox::PrintProcessViewActivity::Config###ProcessFileName
Enter the ProcessEntityID and the name to the file.
InBox::PrintProcessViewActivity::Config###DefaultTemplateName
Set the name of Template (.tt) default (Not with process).
InBox::PrintProcessViewActivity::Config###DefaultButtonsLabel
Enter the default labels to sidebar.
Tips for creating the template
To display the pure DynamicField FileSystem link, add the tag: [% Data.DynamicField_Img_FileSystemFieldName %]
To display a field DynamicField table, add the tag: [% Data.DynamicField_TableView_TableFieldName %]
The tags OwnerInfos and ResponsiblesInfos, show the agent infos. Example: [% Data.OwnerInfos.UserFullname %]
If you want to create a new template (.tt) for the pdf. Change the file Template1ProcessPDF.tt or create a new one.
Usage
After configuring the module, a widget will be displayed on the side of the call in the activity and in the configured process.
Clicking on it, a page will be displayed for printing using the template (.tt) configured