top of page
Lived365 LOGO FINAL_white.png

Forum Comments

Conflicting Object IDs in AL Extensions (Business Central OnPremises)
In Dynamics NAV-Business Central
How to integrate Business central with Microsoft teams?
In Dynamics NAV-Business Central
John Freddy
Nov 28, 2022
·For connecting Microsoft Teams with business central, in teams Go to APPS, select Microsoft, then search for and open Incoming Webhook. · After the app has been uploaded, you can choose the channel where it will be turned on, and you must then click Configure: ·Choose an app name and an image (optional) on the app configuration page (this will appear on your channel when a message is submitted in business central): ·After setting up the incoming webhook app, you will receive a URL (your webhook), which you must use to deliver messages to Teams from Business Central: · A POST HTTP request with the following JSON payload is required to send the message to this webhook: · Now is the right time to develop the Dynamics 365 Business Central extension. Our extension here is really straightforward: · We have a code unit that exposes a method for delivering a message to Microsoft Teams by contacting the webhook · We have a page extension object that adds an action for sending a message to your Microsoft Teams channel · The code for the code unit is as follows: In this case, we build an HTTP Client object and use it to send a POST request to the webhook while passing a JSON payload that contains the message we want to deliver to our Teams channel. The following is a definition of the page extension object: If you deploy this extension in Dynamics 365 Business Central, a new message-sending button for Teams is available on the Customer List: This is the result (Message sent to MS Teams) if you click the action: What occurs on your Teams channel, then? From a beautiful new service, you have a wonderful new message: As you can see, integrating Teams is pretty easy, and with just a few lines of code, you can create a Dynamics 365 Business Central that is more dynamic than ever.
Content media
1
0
Extending Business Central 16.0's "Sales Line Type" enum
In Dynamics NAV-Business Central
How can unnecessary blank spaces be removed from Rdlc?
In Dynamics NAV-Business Central

John Freddy

More actions
bottom of page