User guide
Quick Start Guide
Dashboard
Overviews
Case detail (Caseoverview)
Case - event
Tasks
Case notes
Documents
User settings
Favorites
Table component
Administrator Guide
Administration
Authentication and Synchronization
Mobile App Setup for Your Environment
Scheme
Dynamic tables
Scripts
Service console
Scheduled Tasks
HR Agenda
Sequences
CSP Headers
Logs
Crons
Access Token Settings & Session Expiration
Template
Roles
Integrations
TAS Forms
TAS Forms
Activating the module on the environment
TAS Forms - secret creation guide for Docker Swarm
Advanced Features & Tips
Filtering in a dynamic sheet using a URL parameter (static)
Search in a dynamic table by column value
Filtering in a dynamic sheet using dynamic conditions
Optimizing Overviews with a Large Number of Cases
DOCX document creation
Planning
Users
Organizational structure
Events
Partners
Product
Business Changelog
Technical Changelog
Version Upgrade Guide
Upgrading to 5.9
Upgrading to 5.3
Dynamic conditions migration
PDF printing adjustment
Editing Task Description vs Task Instructions
Transpiling forEach to a for loop
Rendering HTML on Caseoverview
Upgrading to 5.7
Best Practices for Upgrading from TAS 4 to TAS 5
Technical details
- All Categories /
- Administrator Guide
- Template
- Prints /
- Process Template - Prints
Process Template - Prints
The "Print" section in a process template within Team assistant allows users to define and generate print layouts for various process-related documents, including the Case Overview. This section supports customization using HTML & CSS or React.js (combining HTML and JavaScript).
Purpose
The "Print" section is used to configure printable documents for the process, ensuring that users can generate structured outputs that align with business requirements. This feature is useful for creating:
- Case summaries
- Approval forms
- Reports
- Other document-based outputs
Supported Technologies
- HTML & CSS + Javascript: For simple, static document layouts.
- React.js: For dynamic content rendering, conditional logic, and reusable components.
Implementation
1. HTML & CSS Approach
If you prefer a static layout, use pure HTML and CSS. Example:
<!DOCTYPE html>
<html>
<head>
<style>
body { font-family: Arial, sans-serif; }
.header { font-size: 20px; font-weight: bold; }
.content { margin-top: 10px; }
</style>
</head>
<body>
<div class="header">Case Overview</div>
<div class="content">
<p>Process Name: {processName}</p>
<p>Case ID: {caseId}</p>
</div>
</body>
</html>
Note: Placeholders like {processName}
and {caseId}
will be replaced by actual process variables.
2. React.js Approach
For more advanced print layouts, React.js allows conditional logic and reusable components. Example:
import React from 'react';
const PrintCaseOverview = ({ processName, caseId }) => {
return (
<div>
<h1>Case Overview</h1>
<p><strong>Process Name:</strong> {processName}</p>
<p><strong>Case ID:</strong> {caseId}</p>
</div>
);
};
export default PrintCaseOverview;
Usage: Ensure that the component is rendered in an environment that supports React.js.
Configuration
To configure the "Print" section:
- Navigate to the Template.
- Locate the Print section.
- Insert your custom HTML & CSS or React.js code.
- Save and test the output to ensure correct formatting.
Best Practices
- Keep layouts simple for better print performance.
- Use Scripts for your general components.
- Optimize images and fonts for clear print quality.
- Use React.js when dynamic content or logic is required.
Troubleshooting
Issue | Solution |
Content not displaying correctly | Ensure all placeholders ( |
Print styles not applied | Use |
React component not rendering | Ensure React is properly integrated into the Team assistant environment. |
Print on case
Process documents can be printed to PDF (can also be saved as a case document) or HTML format
Updated
by Anna Gernát