Skip to content

Commit

Permalink
Copilot Capabilities page string change (#1888)
Browse files Browse the repository at this point in the history
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
We are changing the strings and what links are shown depending on the
users region in the Copilot Capabilities page

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#537341](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/537341/)
  • Loading branch information
DenLilleMand authored Aug 27, 2024
1 parent f3bcac9 commit 7afc36b
Showing 1 changed file with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ page 7775 "Copilot AI Capabilities"
{
area(Content)
{
group(AllowedDataMovementOffInfo)
{
ShowCaption = false;
Visible = ((not WithinGeo) or WithinEuropeGeo) and (not AllowDataMovement);
InstructionalText = 'Copilot uses the Azure OpenAI Service, which isn’t available in your region. To activate Copilot capabilities, you must allow data movement.';
}

group(AllowedDataMovementOnInfo)
{
ShowCaption = false;
Visible = ((not WithinGeo) or WithinEuropeGeo) and AllowDataMovement;
InstructionalText = 'Copilot uses the Azure OpenAI Service, which isn’t available in your region. To keep using Copilot capabilities, you must allow data movement.';
}

group(AlwaysConnected)
{
Expand All @@ -46,7 +59,6 @@ page 7775 "Copilot AI Capabilities"
Hyperlink('https://go.microsoft.com/fwlink/?linkid=2249575');
end;
}

}

group(NotAlwaysConnected)
Expand Down Expand Up @@ -140,27 +152,13 @@ page 7775 "Copilot AI Capabilities"
Hyperlink('https://aka.ms/azurestatus');
end;
}
action("Learn about Copilot")
{
ApplicationArea = All;
Image = Info;
ToolTip = 'Learn more about Copilot in Business Central.';

trigger OnAction()
begin
Hyperlink('https://aka.ms/bcai');
end;
}
}

area(Promoted)
{
actionref(PromotedServiceHealth; "Check service health")
{
}
actionref(PromotedLearnAbout; "Learn about Copilot")
{
}
}
}

Expand Down Expand Up @@ -221,5 +219,5 @@ page 7775 "Copilot AI Capabilities"
AllowDataMovement: Boolean;
AllowDataMovementEditable: Boolean;
CopilotGovernDataLbl: Label 'How do I govern my Copilot data?';
AOAIServiceLocatedLbl: Label 'Where is Azure OpenAI Service Located?';
AOAIServiceLocatedLbl: Label 'In which region will my data be stored and processed?';
}

0 comments on commit 7afc36b

Please sign in to comment.