アップグレード後にカテゴリを変更してもカスタムウィジェットに表示されるアイテムが更新されない。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: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Rome リリースにアップグレードした後、サービスポータルでカテゴリを選択すると、URL がカタログ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: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Rome リリース Cause<!-- /*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: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } この問題は、インスタンスがカスタム SC カテゴリページウィジェットを使用している場合に発生します。Rome リリースでは、アクセシビリティコンプライアンスのためにsc_categoryページが更新されました。デフォルトの SC カテゴリページウィジェットはそれに応じて更新されましたが、使用中のカスタムウィジェットはこれらの変更を受け取りませんでした。その結果、カテゴリを変更してもカタログアイテムは更新されません。 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: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } この問題を解決するには、デフォルトの SC カテゴリページウィジェットのクローンを作成し、新しくクローンされたウィジェットに必要なカスタマイズを行う必要があります。 または、既存のカスタムウィジェットを更新することもできます。 1.既存のカスタムウィジェットのクライアントコントローラーで、次の関数を追加します。 var unregisterCategorySelected = $rootScope.$on('$sp.service_catalog.category.selected', function(evt, arg) { $scope.data.category_id = arg.sys_id; $scope.data.catalog_id = arg.catalog_id; $scope.data.items = []; $scope.showTopLoader = true; $scope.data.startWindow = 0; $scope.server.update().then(function(result) { loadPage(); $scope.showTopLoader = false; }); }); 2.$scope.$on("$destroy") method で、次の行を追加します。 unregisterCategorySelected(); 注意: デフォルトの SC カテゴリページウィジェットに追加の変更が加えられたため、他の機能がまだ表示されない可能性があります。最良の結果を得るには、更新されたウィジェットのクローンを作成し、更新されたウィジェットにカスタマイズを適用します。