From 7c165fac5c700528c88de603471ad8aa0e3f7a11 Mon Sep 17 00:00:00 2001 From: Christian Andersen Date: Wed, 5 Feb 2025 17:47:02 +0100 Subject: [PATCH] Copilot settings initial setup --- .../src/Copilot/CopilotAICapabilities.Page.al | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/src/System Application/App/AI/src/Copilot/CopilotAICapabilities.Page.al b/src/System Application/App/AI/src/Copilot/CopilotAICapabilities.Page.al index 7a7c160902..4711f76d12 100644 --- a/src/System Application/App/AI/src/Copilot/CopilotAICapabilities.Page.al +++ b/src/System Application/App/AI/src/Copilot/CopilotAICapabilities.Page.al @@ -132,6 +132,67 @@ page 7775 "Copilot AI Capabilities" } } + group(CopilotOptOut) + { + ShowCaption = false; + Visible = true; + + group(CopilotAllowedDataMovementOffInfo) + { + ShowCaption = false; + Visible = true;//WithinAOAIServicesInRegionArea and (not AllowDataMovement); + InstructionalText = 'Some features use Microsoft Bing Search to improve results. To get the most out of these features, you must enable Bing Search.'; + } + field(CopilotEUDBAreaDataSecurityAndPrivacy; FAQForDataSecurityAndPrivacyLbl) + { + ShowCaption = false; + + trigger OnDrillDown() + begin + Hyperlink(FAQForDataSecurityAndPrivacyDocLinkLbl); + end; + } + group(CopilotEUDBAreaDataMovementGroup) + { + ShowCaption = false; + label(CopilotEUDBAreaCaption) + { + ApplicationArea = All; + Caption = 'By enabeling Bing Search, you agree to data being processed by the Bing Search Service outside of your environments geographic region or compliance boundary.'; + } + field(CopilotEUDBAreaDataMovement; AllowDataMovement) + { + ApplicationArea = All; + Caption = 'Enable Bing Search'; + ToolTip = 'Specifies whether to enable Bing Search. This is required to for Copilot to use Bing Search in your environment.'; + Editable = WithinEUDBArea and AllowDataMovementEditable; + + trigger OnValidate() + begin + UpdateAllowDataMovement(); + end; + } + field(CopilotEUDBAreaAOAIServiceLocated; AOAIServiceLocatedLbl) + { + ShowCaption = false; + + trigger OnDrillDown() + begin + Hyperlink(AOAIServiceLocatedDocLinkLbl); + end; + } + field(CopilotEUDBAreaDataProcess; DataProcessByAOAILbl) + { + ShowCaption = false; + + trigger OnDrillDown() + begin + Hyperlink(DataProcessByAOAIDocLinkLbl); + end; + } + } + } + group(AOAIOutOfRegionArea) { ShowCaption = false;