Codeunit 1631 Office Host Management

Base Application, Microsoft.CRM.Outlook

Source AL, 203 lines

src/Layers/W1/BaseApp/CRM/Outlook/OfficeHostManagement.Codeunit.allines 10 to 25 of 203, Copyright (c) Microsoft Corporation. MIT

codeunit 1631 "Office Host Management"{    var        OfficeHostNotInitializedErr: Label 'The Office host has not been initialized.';    [Scope('OnPrem')]    procedure InitializeHost(NewOfficeHost: DotNet OfficeHost; NewHostType: Text)    begin        OnInitializeHost(NewOfficeHost, NewHostType);    end;    [Scope('OnPrem')]    procedure InitializeContext(TempNewOfficeAddinContext: Record "Office Add-in Context" temporary)    begin        CheckHost();        OnInitializeContext(TempNewOfficeAddinContext);

All 203 lines

Events 15 in 29

[IntegrationEvent] OnInitializeHost(NewOfficeHost: DotNet OfficeHost; NewHostType: Text)17-29
[IntegrationEvent] OnInitializeContext(TempNewOfficeAddinContext: Record "Office Add-in Context" temporary)17-29
[IntegrationEvent] OnInitializeExchangeObject()17-29
[IntegrationEvent] OnGetHostName(var HostName: Text)17-29
[IntegrationEvent] OnGetHostType(var HostType: Text)17-29
[IntegrationEvent] OnCloseCurrentPage()17-29
[IntegrationEvent] OnInvokeExtension(FunctionName: Text; Parameter1: Variant; Parameter2: Variant; Parameter3: Variant; Parameter4: Variant)17-29

All 16 events in 17-29

Public procedures 15 in 29

InitializeHost(NewOfficeHost: DotNet OfficeHost; NewHostType: Text)17-29
InitializeContext(TempNewOfficeAddinContext: Record "Office Add-in Context" temporary)17-29
InitializeExchangeObject()17-29
GetHostName(): Text17-29
GetHostType(): Text17-29
CloseCurrentPage()17-29

All 16 procedures in 17-29

Changes 2 in 23

List17181920212223242526272829
Procedures21
Events21
GetEmailAndAttachments(var TempExchangeObject: Record "Exchange Object" temporary; Action: Option InitiateSendToOCR,InitiateSendToIncomingDocuments,InitiateSendToWorkFlow,InitiateSendToAttachments; VendorNumber: Code[20])gone after 22changed in 20
gone
[IntegrationEvent] OnGetEmailAndAttachments(var TempExchangeObject: Record "Exchange Object" temporary; Action: Option InitiateSendToOCR,InitiateSendToIncomingDocuments,InitiateSendToWorkFlow; VendorNumber: Code[20])gone after 22
gone

All 6 changes in 17-29