Block Send Message + Snippet Create Attachment Adaptive Card.Block Send Message + Snippet Create Attachment Thumbnail Card.Block Send Message + Snippet Create Attachment Hero Card.You can use an image with a public URL in Cards using following blocks: You can use an HTML img tag with a public URL to the image in following blocks: To create cards with large images, a public URL to the image should be used. Keep in mind that MS Teams will not throw an error if the base64 string is too large, it will simply create a Card without the image. Note: it's possible to include base64 strings of small images as value for the url parameter. An interactive interface to generate the correct JSON of the Card can be found here: Card JSON This block accepts a raw JSON representation of the Card as input. Snippet block Create Attachment Adaptive Card myAttachments), adding individual Attachments to this list and using the list variable in the Attachment field of the block Send Message.
You can also add multiple attachments in one message, by creating a variable of type list (e.g. If you omit this HTML tag, it will be automatically appended by Qlik Application Automation at the end of your Content. The Attachment also needs to be added as an HTML tag inside the Content. The output of the Snippet block needs to be mapped to the Attachment field of the Send Message block. The Card needs to be created with one of the following blocks: The block Send Message can be used to send Cards to an MS Teams channel. More information about the different types of cards can be found here: Cards They are added as Attachments to a message. You can choose which content items to use and you can define the order of these items in the message.Ĭards can contain text, images and buttons. This block allows the user to add one title, two paragraphs of text, two base64 images and two buttons with an action URL. It's possible to encapsulate the image in HTML elements by opening an HTML tag in the Html Before Image input and closing the tag in the Html After Image input.īlock Send Structured Message With Base64 Images You can optionally add HTML code before and/or after the image. This block allows the user to send a message with HTML content and one base64 image. The following commands can be used to sent HTML messages to a MS Teams channel.īlock Send Html Message With Base64 Image Attachments are typically Cards, see below for more information. In the block Send Message, you can optionally add one or more attachments.
When selecting the admin permissions, the following scopes will also be requested and these will require admin consent to being used: If you cannot login using the default permissions you will have to contact your Office 365 admin regarding the use of this connector. In a default setup of an Office 365 tenant, regular users can make use of all of these scopes. Default permissions request the following scopes:
The difference is the scopes that are requested by Qlik Application Automation. When creating your datasource, you will be prompted with a screen whether you want default permissions or admin permissions. The Microsoft Teams connector in Qlik Application Automation is making use of oAuth to ask users to give Qlik Application Automation access to Microsoft Teams.