Overview
Version
Report Server Version | Plugin Version | Functional Change |
V11.0 | V1.2 | / |
Function Description
You can achieve the Teams integration function through the Teams Integration plugin.
You can configure and send Teams messages in File Processing of Task Schedule.
You can integrate multiple Teams applications.
Preparation
Environment Preparation
You have completed preparation works based on the document Teams Integration Environment Preparation.
Teams Integration Preparation
You have completed Teams integration preparation works based on the document Teams Integration Example.
Sending Teams Messages through Task Schedule
Basic Setting
You need to select platform users who have already been matched with Teams users in the document Teams Integration Example.
Schedule Object
Schedule Cycle
File Processing
Set Processing Method to Client Notification and Push Terminal to Teams Notification and select the Teams Webhook to be sent from the drop-down list.
The supported messages include Link Message, Text Message, File Message, and Image Message.
Link Message: Messages are sent in the report link format. When you preview the report by clicking the link, the single sign-on function is supported. That is, the current login user's account can be automatically logged in here.
Text Message: If you select this type, the FineReport server (whose address must start from "https") must be accessible by Teams.
Image Message: The current template will be sent as a snapshot.
File Message: The file is sent in the link format. You can click the link to download the file.
4. The following table sequentially displays the effects of Link Message, Text Message, Image Message, and File Message.
MessageType | Setting Page | Teams Effect |
---|---|---|
Link Message | ||
Text Message | ||
File Message | ||
Image Message |
Sending Teams Messages Through the Template Message Event Plugin
The Template Message Event plugin in V1.8.0 and later versions are compatible with Teams Webhook message sending. After updating the plugin, you can see the Webhook configuration on the setting page and send messages based on configurations.
For details about complete functions of the Template Message Event plugin, see Template Message Event.
Event Setting
1. Add a Template Message event and configure relevant settings on the Message Receiver tab page.
2. Choose System Management > Teams Management > App Quick Configuration, set Webpage to Single Template, select the needed template, click Generate Link, and copy the link.
3. Go back to the designer setting page, click the Message Content tab, set Client to Teams Push, and select the needed app from the drop-down list in Teams App. Enter the link copied in the previous step and customize Title and Content as needed.
Effect Display