Skip to content

Commit bbd36c5

Browse files
authored
[25.x] [Copilot] Expand chat availability (#2866)
#### Summary Remove the application family check when registering the Chat Copilot capability. This will allow the capability to be enabled in all deployments 🎉 #### Work Item(s) Fixes [AB#502565](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/502565)
1 parent 9ec417e commit bbd36c5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/System Application/App/AI/src/Copilot/CopilotCapabilityInstall.Codeunit.al

+1-7
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ codeunit 7760 "Copilot Capability Install"
2222
AnalyzeListLearnMoreLbl: Label 'https://go.microsoft.com/fwlink/?linkid=2252783', Locked = true;
2323

2424
internal procedure RegisterCapabilities()
25-
var
26-
EnvironmentInformation: Codeunit "Environment Information";
27-
ApplicationFamily: Text;
2825
begin
29-
ApplicationFamily := EnvironmentInformation.GetApplicationFamily();
30-
if ApplicationFamily in ['AT', 'BE', 'BG', 'CH', 'CZ', 'DK', 'EE', 'ES', 'FI', 'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'LT', 'LV', 'MX', 'NL', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK', 'UA', 'US', 'W1'] then
31-
RegisterSaaSCapability(Enum::"Copilot Capability"::Chat, Enum::"Copilot Availability"::Preview, ChatLearnMoreLbl);
32-
26+
RegisterSaaSCapability(Enum::"Copilot Capability"::Chat, Enum::"Copilot Availability"::Preview, ChatLearnMoreLbl);
3327
RegisterSaaSCapability(Enum::"Copilot Capability"::"Analyze List", Enum::"Copilot Availability"::Preview, AnalyzeListLearnMoreLbl);
3428
end;
3529

0 commit comments

Comments
 (0)