---
agentTools:
  projectIndex: https://docs.devmate.com/llms.txt
---

# Configure Feedback Reporting

1. Take the steps described in [Integrate DevMateKit](https://docs.devmate.com/docs/integrate-devmatekit) if you haven't done it yet.
2. You can specify additional `DMFrameworkSettings` properties if needed. DevMate Feedback provides the following configuration options:

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "`IsBeta`",
    "0-1": "bool",
    "0-2": "Specifies whether a current version of the application is Beta.",
    "1-0": "`ApplicationSettings`",
    "1-1": "Dictionary<string,string>",
    "1-2": "Application settings that must be sent with feedback data.",
    "2-0": "`AdditionalInfromation`",
    "2-1": "string",
    "2-2": "Additional information that must be sent with feedback data.",
    "3-0": "`ApplicationIcon`",
    "3-1": "string",
    "3-2": "Sets a “TitleBar” icon for DevMate Framework windows. Must contain at least one 16x16pt icon. Example: *pack://application:,,,/TestApp;component/icon.ico*.",
    "4-2": "Path to a log file (if there is a number of log files, it sends only the recently used). If a value is null or empty, or file does not exist, then the Framework tries to load a file from the `Logs` property.",
    "5-2": "Used to set up specific logs if a `LogFilePath` value is null or empty. If a `Logs` value is null or empty, an empty string is sent to the server.",
    "4-1": "string",
    "5-1": "string",
    "5-0": "`Logs`",
    "4-0": "`LogFilePath`"
  },
  "cols": 3,
  "rows": 6
}
[/block]

For example:

[block:code]
{
  "codes": [
    {
      "code": "DMFeedbackFrameworkSettings.ApplicationSettings.Add(\"Setting1\", \"Value1\");\nDMFeedbackFrameworkSettings.ApplicationSettings.Add(\"Language\", \"en\");\nDMFeedbackFrameworkSettings.ApplicationSettings.Add(\"AppRunCount\", 0);\nDMFeedbackFrameworkSettings.ApplicationSettings.Add(\"Setting2\", \"Value2\"); \n\nDMFeedbackFrameworkSettings.LogFilePath = @\"C:\\Program Files\\AppName\\Logs\\logfile.log\"; \nDMFeedbackFrameworkSettings.AdditionalInformation = \"Version with hidden feature”;",
      "language": "csharp"
    }
  ]
}
[/block]

To open the Feedback window, use the following code snippet:

[block:code]
{
  "codes": [
    {
      "code": "DMFeedbackWindowController.BigIconSource = \"pack://application:,,,/Images/icon.png\"; \nDMFeedbackWindowController.ShowDialog();",
      "language": "csharp"
    }
  ]
}
[/block]

The `ShowDialog` method has the following overloads:

[block:code]
{
  "codes": [
    {
      "code": "DMFeedbackWindowController.ShowDialog(FeedbackTypes.Feedback); \n// Default - will run Feedback Windows with \"Feedback\" in ComboBox \n\nDMFeedbackWindowController.ShowDialog(FeedbackTypes.BugReport); \n// Runs Feedback Windows with \"Bug Report\" in ComboBox \n\nDMFeedbackWindowController.ShowDialog(FeedbackTypes.SupportRequest);\n// Runs Feedback Windows with \"Support Request\" in ComboBox",
      "language": "csharp"
    }
  ]
}
[/block]