サービスステータスウィジェットを拡張して、より多くのビジネスサービス情報を表示する方法Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } サービスステータスウィジェットのデフォルトバージョン: 過去 90 日間のビジネスサービス停止情報を表示します。機能停止メッセージや日付などの限られた情報のみを提供します。タスク番号や簡単な説明など、機能停止の完全な詳細を表示しない。 service_statusポータルページにあるウィジェットには、URL の入力パラメーターとしてビジネスサービス (cmdb_ci_service) が必要です。 サービスステータスウィジェットのデフォルトバージョンの直接 URL は次のとおりです。 https://<instance-name>.service-now.com/sp_widget.do?sys_id=0d76f656d7330200a9addd173e24d450 例 cmdb_ci_outageテーブルリストビューに移動します。機能停止レコードを開き、関連付けられたビジネスサービスのsys_idをメモします。選択したビジネスサービスのサービスステータスを表示するには、次の URL を使用します。 https://<instance-name>.service-now.com/sp?id=service_status&service=<business_service_sys_id>\ 色付きの各アイコンには、ステータスの詳細を示すツールヒントが含まれています。 緑色は問題がないことを示し、対応する日付を表示します。赤色は、機能停止のタイプと日付を示します。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } ウィジェットのクローンを作成し、デフォルトのウィジェットの動作をカスタマイズして詳細を表示できます。 この例では、機能停止の簡単な説明をツールヒントに追加する方法を示します。 サービスステータス ウィジェットのクローンを作成します。機能停止レコードのshort_descriptionを day array にプッシュするようにウィジェットのサーバースクリプトを変更します。25 行目の後にスクリプトを追加する必要がある場合があります。 簡単な説明を含めた後、デフォルトの角度ディレクティブ ng-bind-html を使用して HTML テンプレートで使用できます。 service_statusポータルページに機能停止レコードの詳細を表示するために、デフォルトのサービス履歴ウィジェットのクローンを作成できます。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } サービスステータスウィジェットの詳細については、このナレッジ記事を参照してください。 サービス履歴ウィジェット