Codeunit 6999 Outlook Add-In Services

Base Application, System.Integration

Source AL, 263 lines

src/Layers/W1/BaseApp/System/OutlookAddIn/OutlookAddInServices.Codeunit.allines 18 to 33 of 263, Copyright (c) Microsoft Corporation. MIT

codeunit 6999 "Outlook Add-In Services"{    Access = Internal;    trigger OnRun()    begin    end;    var        OutlookCategoryLbl: Label 'AL Outlook Add-In', Locked = true;        // Please note UrlHelper cannot be used here as it does not provide right URL on-prem        RetrieveEmailMeUriTxt: Label 'https://graph.microsoft.com/v1.0/me/messages/%1', Locked = true;        RetrieveEmailAttachmentsUriTxt: Label 'https://graph.microsoft.com/v1.0/me/messages/%1/attachments', Locked = true;        FailedToRetrieveEmailBodyErr: Label 'Could not retrieve the email. Please try again later.';        FailedToRetrieveEmailAttachmentsErr: Label 'Could not retrieve the email attachments. Please try again later.';        FailedToReadResponseContentErr: Label 'Something went wrong while reading the email. Please try again later.';

All 263 lines

Public procedures 3 in 29

GetEmailAndAttachments(ItemID: Text[250]; var TempExchangeObject: Record "Exchange Object" temporary; Action: Option InitiateSendToOCR,InitiateSendToIncomingDocuments,InitiateSendToWorkFlow,IntiateSendToAttachments; RecRef: RecordRef; AccessToken: SecretText)new in 27
GetEmailBodyViaGraph(ExternalMessageId: Text; AccessToken: SecretText): Textnew in 27
EmailHasAttachments(ExternalMessageId: Text[250]; AccessToken: SecretText): Booleannew in 27