diff --git a/src/System Application/App/AI/src/Copilot/CopilotTelemetry.Codeunit.al b/src/System Application/App/AI/src/Copilot/CopilotTelemetry.Codeunit.al index e8e0770ab3..ccae45bfba 100644 --- a/src/System Application/App/AI/src/Copilot/CopilotTelemetry.Codeunit.al +++ b/src/System Application/App/AI/src/Copilot/CopilotTelemetry.Codeunit.al @@ -30,7 +30,8 @@ codeunit 7775 "Copilot Telemetry" CopilotCapabilitiesImpl: Codeunit "Copilot Capability Impl"; FeatureTelemetry: Codeunit "Feature Telemetry"; begin - CopilotCapabilitiesImpl.AddTelemetryDimensions(CopilotCapability, AppId, CustomDimensions); + if not CustomDimensions.ContainsKey('Capability') then + CopilotCapabilitiesImpl.AddTelemetryDimensions(CopilotCapability, AppId, CustomDimensions); FeatureTelemetry.LogUsage('0000LFO', CopilotCapabilitiesImpl.GetCopilotCategory(), TelemetryFeedbackOnCopilotCapabilityLbl, CustomDimensions); end; @@ -39,7 +40,8 @@ codeunit 7775 "Copilot Telemetry" CopilotCapabilitiesImpl: Codeunit "Copilot Capability Impl"; FeatureTelemetry: Codeunit "Feature Telemetry"; begin - CopilotCapabilitiesImpl.AddTelemetryDimensions(CopilotCapability, AppId, CustomDimensions); + if not CustomDimensions.ContainsKey('Capability') then + CopilotCapabilitiesImpl.AddTelemetryDimensions(CopilotCapability, AppId, CustomDimensions); FeatureTelemetry.LogUsage('0000LLW', CopilotCapabilitiesImpl.GetCopilotCategory(), TelemetryActionInvokedOnCopilotCapabilityLbl, CustomDimensions); end; } \ No newline at end of file