From f2d838a8092ce4e13abbbf4463f31d5f1280d05c Mon Sep 17 00:00:00 2001 From: Eddy Lynch Date: Thu, 22 Jan 2026 13:16:57 +0000 Subject: [PATCH 1/3] Change order of ContextProperties param in MicrosoftUserFeedback.Codeunit.al --- .../src/MicrosoftUserFeedback.Codeunit.al | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al index d39f25bb68..f6dccec016 100644 --- a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al +++ b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al @@ -141,9 +141,9 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which dislike feedback is requested. /// The area or sub-area of the feature. ID of the sub-area on OCV. /// The display name of the feature area. - /// Additional data to pass properties to the feedback mechanism. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. - procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextProperties: Dictionary of [Text, Text]; ContextFiles: Dictionary of [Text, Text]) + /// Additional data to pass properties to the feedback mechanism. + procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var CallerModuleInfo: ModuleInfo; begin From 7643948154c6b3929928bc024166f83743bbcac5 Mon Sep 17 00:00:00 2001 From: Eddy Lynch Date: Thu, 22 Jan 2026 13:37:07 +0000 Subject: [PATCH 2/3] Add on prem scope --- .../src/MicrosoftUserFeedback.Codeunit.al | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al index f6dccec016..e51fae4cbf 100644 --- a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al +++ b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al @@ -18,6 +18,7 @@ codeunit 1590 "Microsoft User Feedback" /// Requests general feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which feedback is requested. + [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text) var CallerModuleInfo: ModuleInfo; @@ -34,6 +35,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which feedback is requested. /// The area or sub-area of the feature. ID on OCV. /// The display name of the feature area. + [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var CallerModuleInfo: ModuleInfo; @@ -52,6 +54,7 @@ codeunit 1590 "Microsoft User Feedback" /// The display name of the feature area. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. + [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var CallerModuleInfo: ModuleInfo; @@ -64,6 +67,7 @@ codeunit 1590 "Microsoft User Feedback" /// Requests a 'like' (positive) feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which like feedback is requested. + [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text) var CallerModuleInfo: ModuleInfo; @@ -80,6 +84,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which like feedback is requested. /// The area or sub-area of the feature. ID on OCV. /// The display name of the feature area. + [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var CallerModuleInfo: ModuleInfo; @@ -97,6 +102,7 @@ codeunit 1590 "Microsoft User Feedback" /// The area or sub-area of the feature. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. + [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var CallerModuleInfo: ModuleInfo; @@ -109,6 +115,7 @@ codeunit 1590 "Microsoft User Feedback" /// Requests a 'dislike' (negative) feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which dislike feedback is requested. + [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text) var CallerModuleInfo: ModuleInfo; @@ -125,6 +132,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which dislike feedback is requested. /// The area or sub-area of the feature. ID of the sub-area on OCV. /// The display name of the feature area. + [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var CallerModuleInfo: ModuleInfo; @@ -143,6 +151,7 @@ codeunit 1590 "Microsoft User Feedback" /// The display name of the feature area. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. + [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var CallerModuleInfo: ModuleInfo; @@ -156,6 +165,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// True if the feedback is for an AI feature; otherwise, false. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure SetIsAIFeedback(IsAIFeedback: Boolean): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.SetIsAIFeedback(IsAIFeedback); @@ -168,6 +178,7 @@ codeunit 1590 "Microsoft User Feedback" /// The text of the custom question. /// The display text of the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestion(Question: Text; QuestionDisplay: Text): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestion(Question, QuestionDisplay); @@ -179,6 +190,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// The type of the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestionType(QuestionType: Enum FeedbackQuestionType): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionType(QuestionType); @@ -191,6 +203,7 @@ codeunit 1590 "Microsoft User Feedback" /// The behaviour. /// If true, enables the specified required behavior; if false, disables it. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestionRequiredBehavior(RequiredBehavior: Enum FeedbackRequiredBehavior; Enabled: Boolean): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionRequiredBehavior(RequiredBehavior, Enabled); @@ -202,6 +215,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// A dictionary defining the required behavior for the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestionRequiredBehavior(RequiredBehavior: Dictionary of [Enum FeedbackRequiredBehavior, Text]): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionRequiredBehavior(RequiredBehavior); @@ -214,6 +228,7 @@ codeunit 1590 "Microsoft User Feedback" /// The answer option. /// The display text for the answer option. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestionAnswerOption(AnswerOption: Text; AnswerDisplayText: Text): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionAnswerOption(AnswerOption, AnswerDisplayText); @@ -225,6 +240,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// A dictionary defining the answer options for the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. + [Scope('OnPrem')] procedure WithCustomQuestionAnswerOptions(AnswerOptions: Dictionary of [Text, Text]): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionAnswerOptions(AnswerOptions); @@ -235,6 +251,7 @@ codeunit 1590 "Microsoft User Feedback" /// Clears any previously set custom question. /// /// The current instance of the "Microsoft User Feedback" codeunit. + [Scope('OnPrem')] procedure ClearCustomQuestion(): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.ClearCustomQuestion(); @@ -247,6 +264,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// The name of the activity for which the timer is started or stopped. /// If true, starts the timer; if false, stops the timer. + [Scope('OnPrem')] procedure SurveyTimerActivity(ActivityName: Text; Start: Boolean) var CallerModuleInfo: ModuleInfo; @@ -260,6 +278,7 @@ codeunit 1590 "Microsoft User Feedback" /// The event could be, for example, a user clicking a button /// /// The name of the activity that triggers the survey. + [Scope('OnPrem')] procedure SurveyTriggerActivity(ActivityName: Text) var CallerModuleInfo: ModuleInfo; From 665eac4703bb1428c76590625110aae091a8d330 Mon Sep 17 00:00:00 2001 From: Eddy Lynch Date: Thu, 22 Jan 2026 13:45:04 +0000 Subject: [PATCH 3/3] Add pragmas --- .../src/MicrosoftUserFeedback.Codeunit.al | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al index e51fae4cbf..13ad3b3e6c 100644 --- a/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al +++ b/src/System Application/App/Microsoft User Feedback/src/MicrosoftUserFeedback.Codeunit.al @@ -18,6 +18,7 @@ codeunit 1590 "Microsoft User Feedback" /// Requests general feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which feedback is requested. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text) var @@ -28,6 +29,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestFeedback(FeatureName, '', '', EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests general feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -35,6 +37,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which feedback is requested. /// The area or sub-area of the feature. ID on OCV. /// The display name of the feature area. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var @@ -45,6 +48,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests general feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -54,6 +58,7 @@ codeunit 1590 "Microsoft User Feedback" /// The display name of the feature area. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var @@ -62,11 +67,13 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, ContextFiles, ContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'like' (positive) feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which like feedback is requested. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text) var @@ -77,6 +84,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestLikeFeedback(FeatureName, '', '', EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'like' (positive) feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -84,6 +92,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which like feedback is requested. /// The area or sub-area of the feature. ID on OCV. /// The display name of the feature area. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var @@ -94,6 +103,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestLikeFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'like' (positive) feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -102,6 +112,7 @@ codeunit 1590 "Microsoft User Feedback" /// The area or sub-area of the feature. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestLikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var @@ -110,11 +121,13 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestLikeFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, ContextFiles, ContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'dislike' (negative) feedback for a feature, optionally specifying if it is a Copilot feature and its area. /// /// The name of the feature for which dislike feedback is requested. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text) var @@ -125,6 +138,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestDislikeFeedback(FeatureName, '', '', EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'dislike' (negative) feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -132,6 +146,7 @@ codeunit 1590 "Microsoft User Feedback" /// The name of the feature for which dislike feedback is requested. /// The area or sub-area of the feature. ID of the sub-area on OCV. /// The display name of the feature area. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text) var @@ -142,6 +157,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestDislikeFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, EmptyContextFiles, EmptyContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Requests a 'dislike' (negative) feedback for a feature, optionally specifying if it is a Copilot feature and its area. @@ -151,6 +167,7 @@ codeunit 1590 "Microsoft User Feedback" /// The display name of the feature area. /// Map of filename to base64 file to attach to the feedback. Must contain the filename in the extension. /// Additional data to pass properties to the feedback mechanism. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure RequestDislikeFeedback(FeatureName: Text; FeatureArea: Text; FeatureAreaDisplayName: Text; ContextFiles: Dictionary of [Text, Text]; ContextProperties: Dictionary of [Text, Text]) var @@ -159,18 +176,21 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.RequestDislikeFeedback(FeatureName, FeatureArea, FeatureAreaDisplayName, ContextFiles, ContextProperties, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Sets whether the General/Like/Dislike feedback being collected is for an AI feature. /// /// True if the feedback is for an AI feature; otherwise, false. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure SetIsAIFeedback(IsAIFeedback: Boolean): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.SetIsAIFeedback(IsAIFeedback); exit(this); end; +#pragma warning restore AS0022 /// /// Sets a custom question to be included in the feedback prompt. @@ -178,24 +198,28 @@ codeunit 1590 "Microsoft User Feedback" /// The text of the custom question. /// The display text of the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestion(Question: Text; QuestionDisplay: Text): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestion(Question, QuestionDisplay); exit(this); end; +#pragma warning restore AS0022 /// /// Sets the type of the custom question to be included in the feedback prompt. /// /// The type of the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestionType(QuestionType: Enum FeedbackQuestionType): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionType(QuestionType); exit(this); end; +#pragma warning restore AS0022 /// /// Sets the required behavior for the custom question to be included in the feedback prompt. @@ -203,24 +227,28 @@ codeunit 1590 "Microsoft User Feedback" /// The behaviour. /// If true, enables the specified required behavior; if false, disables it. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestionRequiredBehavior(RequiredBehavior: Enum FeedbackRequiredBehavior; Enabled: Boolean): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionRequiredBehavior(RequiredBehavior, Enabled); exit(this); end; +#pragma warning restore AS0022 /// /// Sets the required behavior for the custom question to be included in the feedback prompt. /// /// A dictionary defining the required behavior for the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestionRequiredBehavior(RequiredBehavior: Dictionary of [Enum FeedbackRequiredBehavior, Text]): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionRequiredBehavior(RequiredBehavior); exit(this); end; +#pragma warning restore AS0022 /// /// Adds an answer option for the custom question to be included in the feedback prompt. @@ -228,35 +256,41 @@ codeunit 1590 "Microsoft User Feedback" /// The answer option. /// The display text for the answer option. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestionAnswerOption(AnswerOption: Text; AnswerDisplayText: Text): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionAnswerOption(AnswerOption, AnswerDisplayText); exit(this); end; +#pragma warning restore AS0022 /// /// Sets the answer options for the custom question to be included in the feedback prompt. /// /// A dictionary defining the answer options for the custom question. /// The current instance of the "Microsoft User Feedback Impl" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure WithCustomQuestionAnswerOptions(AnswerOptions: Dictionary of [Text, Text]): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.WithCustomQuestionAnswerOptions(AnswerOptions); exit(this); end; +#pragma warning restore AS0022 /// /// Clears any previously set custom question. /// /// The current instance of the "Microsoft User Feedback" codeunit. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure ClearCustomQuestion(): Codeunit "Microsoft User Feedback" begin this.FeedbackImpl := this.FeedbackImpl.ClearCustomQuestion(); exit(this); end; +#pragma warning restore AS0022 /// /// Starts or stops a survey timer activity. This is used to start a timer to count up user usage @@ -264,6 +298,7 @@ codeunit 1590 "Microsoft User Feedback" /// /// The name of the activity for which the timer is started or stopped. /// If true, starts the timer; if false, stops the timer. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure SurveyTimerActivity(ActivityName: Text; Start: Boolean) var @@ -272,12 +307,14 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.SurveyTimerActivity(ActivityName, Start, CallerModuleInfo); end; +#pragma warning restore AS0022 /// /// Sends a one-time trigger event based on a specific activity name. /// The event could be, for example, a user clicking a button /// /// The name of the activity that triggers the survey. +#pragma warning disable AS0022 [Scope('OnPrem')] procedure SurveyTriggerActivity(ActivityName: Text) var @@ -286,6 +323,7 @@ codeunit 1590 "Microsoft User Feedback" NavApp.GetCallerModuleInfo(CallerModuleInfo); this.FeedbackImpl.SurveyTriggerActivity(ActivityName, CallerModuleInfo); end; +#pragma warning restore AS0022 var FeedbackImpl: Codeunit "Microsoft User Feedback Impl";