Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.54 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.54 KB

Current

license

Discord Logo

Discord for Dynamics 365 Business Central

Integrate Discord chat features in Dynamics 365 Business Central with widgetbot.

Setup Discord Server

Do the following steps:

  1. Follow the tutorial
  2. Recieve the serverid and a channelid

Connect to the Discord server from Dynamics 365 Business Central

Use the provided control addin.

You can find an example in the demo app folder

usercontrol("WidgetBot"; "jdi Discord Widgetbot")
{
    ApplicationArea = all;

    trigger ControlAddinLoaded()
    var
        WidgetBotSetup: Codeunit "jdi Discord Widgetbot Setup";
        WidgetBotSetupJObject: JsonObject;
    begin
        WidgetBotSetupJObject := WidgetBotSetup.CreateWidgetBotSetup('<serverid>', '<channelid>');
        CurrPage.WidgetBot.CreateControl(WidgetBotSetupJObject);
    end;
}

Download links

Preview: