Hi All,
I'm loosing my mind here.. I need to set up QA checker verification settings via project API, and cant get this working (settings are not saved)
Here is my code:
FileBasedProject p = new FileBasedProject(info);
ISettingsBundle settings = p.GetSettings(info.TargetLanguages[0]);
ISettingsBundle settings1 = p.GetSettings();
/*Below we set up file type settings */
settings = FileTypes(settings, word2003_settings, word2007_settings,excel_settings,ppoint2003_settings,ppoint2007_settings);
//TermVerifierSettings terms = settings.GetSettingsGroup(TermVerifierSettings)
Sdl.Verification.QAChecker.Settings.Studio2009SP3.QASettings qa = settings1.GetSettingsGroup<QASettings>();
qa.BeginEdit();
qa.UneditedSegments.Value = true;
qa.UneditedConfirmed.Value = true;
qa.SeverityUneditedConfirmed.Value = 1;
qa.CheckInconsistencies.Value = true;
qa.EndEdit();
//qa.UneditedSegments.Value = true;
//qa.UneditedNotConfirmed.Value = true;
//qa.UneditedConfirmed.Value = true;
//qa.SeverityUneditedConfirmed.Value = 1;
p.UpdateSettings(settings);
I dont see any errors thrown, just settings are not saved.
I have bolded part that is related to this question. Thanks in advance!