Page 1823 Consent Microsoft AI, source in 29
Source29
src/Layers/W1/BaseApp/ConsentMicrosoftAI.Page.al90 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Privacy;
page 1823 "Consent Microsoft AI"
{
Caption = 'Please review terms and conditions';
PageType = NavigatePage;
Editable = false;
layout
{
area(content)
{
group(Control1)
{
InstructionalText = 'AI generated suggestions may not always be accurate. Please validate results for correctness before using content provided.';
ShowCaption = false;
}
group(Control2)
{
InstructionalText = 'By enabling this feature, you consent to your data being shared with a Microsoft service that might be outside of your organization''s selected geographic boundaries and might have different compliance and security standards than Microsoft Dynamics 365 Business Central. Your privacy is important to us, and you can choose whether to share data with the service. To learn more, follow the link below.';
ShowCaption = false;
}
field(LearnMore; LearnMoreTok)
{
ApplicationArea = All;
Editable = false;
ShowCaption = false;
Caption = ' ';
ToolTip = 'View information about the privacy.';
trigger OnDrillDown()
begin
Hyperlink(PrivacyLinkTxt);
end;
}
}
}
actions
{
area(Processing)
{
action(Accept)
{
ApplicationArea = Basic, Suite;
Caption = 'I accept';
ToolTip = 'Agree to the terms and conditions.';
Image = Confirm;
InFooterBar = true;
trigger OnAction();
begin
Agreed := true;
CurrPage.Close();
end;
}
action(Cancel)
{
ApplicationArea = Basic, Suite;
Caption = 'Cancel';
ToolTip = 'Disagree with the terms and conditions.';
Image = Cancel;
InFooterBar = true;
trigger OnAction();
begin
Agreed := false;
CurrPage.Close();
end;
}
}
}
var
PrivacyLinkTxt: Label 'https://go.microsoft.com/fwlink/?linkid=521839';
LearnMoreTok: Label 'Privacy and Cookies';
Agreed: Boolean;
procedure WasAgreed(): Boolean
begin
exit(Agreed);
end;
}