You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SCSM-Diagnostic-Tool/SourceCode/_1_Collecting/Collect_OnlyMgmtServerSpecificInfo/Collect_FromWFAndSecondary/Collect_SQL_MS_Specific.ps1
$dataRow.RuleName="Templates with no localizations"
4
+
$dataRow.RuleName="IR and SR Templates with no localizations"
5
5
$dataRow.RuleDesc=@"
6
-
This rule checks if Templates exist that do not have any localized string. This would cause Connector (e.g. Exchange Connector) Wizard to crash the Console (bug 936430).
6
+
This rule checks if Templates (only if based on Incident or Service Request) exist that do not have any localized Name or Description value. This would crash the Console (bug 936430) when attempting to create a new Exchange Connector or when opening an existing one.
@@ -16,8 +24,23 @@ This rule checks if Templates exist that do not have any localized string. This
16
24
}
17
25
else {
18
26
$dataRow.RuleResult=@"
19
-
Looks like problematic templates found. Please check in $(CollectorLink SQL_ObjectTemplates_WithMissingLocalizations.csv). $(IgnoreRuleIfText) no Exchange Connector exists. However, it is strongly suggested to add localized string values to these templates to avoid problems in the future.
27
+
Looks like problematic templates found. To resolve this issue, please do the following steps:
28
+
<br/> 1. Open $(CollectorLink SQL_ObjectTemplates_WithMissingLocalizations.csv).
29
+
<br/> 2. Copy the value of the 1st column "Template Name to be edited".
30
+
<br/> 3. Open the SM console and navigate to Library/Templates.
31
+
<br/> 4. Find/Filter the template (like "Template.59d3859b0aca4bd0aec5f64e3b6059e2") and click Properties.
32
+
<br/> 5. Make a modification in the Name or Description fields.
33
+
<br/> 6. Uncheck the "When I click OK, open the template form" checkbox at the very end. Don't worry if you forget to uncheck.
34
+
<br/> 7. Click the OK button.
35
+
<br/> Repeat steps 2-7 for each row in $(CollectorLink SQL_ObjectTemplates_WithMissingLocalizations.csv).
36
+
"@
37
+
38
+
if ($exchangeConnectors.Count-eq0) {
39
+
$dataRow.RuleResult+=@"
40
+
<br/>
41
+
<br/> $(IgnoreRuleIfText) you do not plan to create an Exchange Connector. However, it is strongly recommended to do the steps mentioned above, in order to avoid problems in the future.
0 commit comments