Codeunit 1630 Office Management

Base Application, Microsoft.CRM.Outlook

Source AL, 596 lines

src/Layers/W1/BaseApp/CRM/Outlook/OfficeManagement.Codeunit.allines 25 to 40 of 596, Copyright (c) Microsoft Corporation. MIT

codeunit 1630 "Office Management"{    var        AddinDeploymentHelper: Codeunit "Add-in Deployment Helper";        OfficeHostType: DotNet OfficeHostType;        OfficeAddinTelemetryCategoryTxt: Label 'AL Office Add-in', Locked = true;        UploadSuccessMsg: Label 'Sent %1 document(s) to the OCR service successfully.', Comment = '%1=number of documents';        UploadIncomingDocumentSuccessMsg: Label 'Sent %1 document(s) to the Incoming Documents successfully.', Comment = '%1=number of documents';        UploadAttachmentSuccessMsg: Label 'Attached %1 document(s) successfully.', Comment = '%1=number of documents';        AddinInitializedTelemetryTxt: Label 'Office add-in initialized%1  Host name: %2%1  Host Type: %3%1  Mode: %4%1  Command: %5', Locked = true;        ClientExtensionTelemetryTxt: Label 'Invoking client-side extension: %1', Locked = true;        HandlerCodeunitTelemetryTxt: Label 'Office add-in handler codeunit: %1', Locked = true;        IncomingDocumentTelemetryTxt: Label 'Creating Incoming Document from Outlook add-in. %1 attachment(s).', Locked = true;        CodeUnitNotFoundErr: Label 'Cannot find the object that handles integration with Office.';        CompanyNotSetupErr: Label 'In order to use another company, you must first start the trial, which cannot be done from the Outlook add-in.';        CannotSendMailThenDownloadErr: Label 'You cannot send the email.\Verify that the email settings are correct.';

All 596 lines

Events 1 in 29

[IntegrationEvent] OnGetExternalHandlerCodeunit(OfficeAddinContext: Record "Office Add-in Context"; HostType: Text; var HandlerCodeunit: Integer)17-29

Public procedures 36 in 29

InitializeHost(NewOfficeHost: DotNet OfficeHost; NewHostType: Text)17-29
InitializeContext(TempNewOfficeAddinContext: Record "Office Add-in Context" temporary)17-29
AddRecipient(Name: Text[100]; Email: Text[80])17-29
AttachAvailable(): Boolean17-29
AttachDocument(AttachmentStream: InStream; AttachmentName: Text; BodyText: Text; Subject: Text)17-29
AttachDocument(BodyText: Text; Subject: Text)17-29

All 38 procedures in 17-29

Changes 1 in 24

List17181920212223242526272829
Procedures3311
AttachDocument(ServerFilePath: Text; FileName: Text; BodyText: Text; Subject: Text)gone after 23
gone

All 8 changes in 17-29