Codeunit 1489 Edit in Excel Workbook Impl.

System Application, System.Integration.Excel

Source AL, 241 lines

src/System Application/App/Edit in Excel/src/EditInExcelWorkbookImpl.Codeunit.allines 16 to 31 of 241, Copyright (c) Microsoft Corporation. MIT

codeunit 1489 "Edit in Excel Workbook Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        EnvironmentInformation: Codeunit "Environment Information";        DataEntityExportInfo: DotNet DataEntityExportInfo; // Stateful        BindingInfo: DotNet BindingInfo; // Stateful        DataEntityInfo: DotNet DataEntityInfo; // Stateful        DataEntityExportGenerator: DotNet DataEntityExportGenerator; // Global var used for export, to avoid cleaning up before output is read from returned InputStream        MemoryStream: DotNet MemoryStream; // Global var used for export, to avoid cleaning up before output is read from returned InputStream        EditInExcelTelemetryCategoryTxt: Label 'Edit in Excel', Locked = true;        EditInExcelUsageWithCentralizedDeploymentsTxt: Label 'Edit in Excel invoked with "Use Centralized deployments" = %1', Locked = true;        WebServiceHasBeenDisabledErr: Label 'You can''t edit this page in Excel because it''s not set up for it. To use the Edit in Excel feature, you must publish the web service called ''%1''. Contact your system administrator for help.', Comment = '%1 = Web service name';

All 241 lines

Public procedures 7 in 29

Initialize(ServiceName: Text[250])new in 22
SetFilters(EditInExcelFilters: Codeunit "Edit in Excel Filters")new in 22
SetSearchText(SearchText: Text)new in 22
AddColumn(FieldCaption: Text; OdataFieldName: Text)new in 22
InsertColumn(Index: Integer; FieldCaption: Text; OdataFieldName: Text)new in 22
ImposeExcelOnlineRestrictions()new in 22

All 8 procedures in 22-29