Codeunit 9173 Profile Helper

Base Application, System.Environment.Configuration

Source AL, 162 lines

src/Layers/W1/BaseApp/Modules/System/Profile/ProfileHelper.Codeunit.allines 6 to 21 of 162, Copyright (c) Microsoft Corporation. MIT

codeunit 9173 "Profile Helper"{    var        NotificationLifecycleMgt: Codeunit "Notification Lifecycle Mgt.";        NavDesignerALProfileImporter: DotNet NavDesignerALProfileImporter;        ProfileConfigurationInputStream: InStream;        TempFile: File;        ImportProfileTxt: Label 'Importing profile %1 of %2\Profile: %3', Comment = '%1 and %2 are numbers, %3 is the name of a profile';        ImportSuccessTxt: Label 'The profile was successfully imported.';        ShowDiagnosticsTxt: Label 'Show diagnostics';    procedure ImportProfileConfigurationPackage(ServerFileName: Text)    begin        // Get profiles.zip from user        TempFile.Open(ServerFileName);        TempFile.CreateInStream(ProfileConfigurationInputStream);

All 162 lines

Public procedures 4 in 29

ImportProfileConfigurationPackage(ServerFileName: Text)17-29
ReadProfilesFromPackage(var TempProfileImport: Record "Profile Import" temporary; var ImportID: Guid): Boolean17-29
ImportProfiles(var TempProfileImport: Record "Profile Import" temporary): Guid17-29
ShowProfileDiagnostics(DiagnosticsNotification: Notification)17-29