システム管理者としてインストールされたアプリケーションのデモデータをロードする方法(ステップバイステップガイド)<!-- /*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: ; } } デモデータをロードする手順: ServiceNow インスタンスにシステム管理者 [admin] 権限でログインします。「システム定義」>「スクリプト - バックグラウンド」に移動します。「スクリプト実行」ウィンドウに次のコマンドをコピーして貼り付けます:GlidePluginManager.loadDemoData('<application scope>');「<application scope>」を、使用するアプリケーションのスコープ名に置き換えます。 例えば、脆弱性対応デモデータをロードするには、次のコマンドを実行します:GlidePluginManager.loadDemoData('sn_vul'); 「グローバルスコープでスクリプトを実行」をクリックして、スクリプトを実行します。 アプリケーションスコープを見つけるための詳細な手順: 「システムアプリケーション」>「アプリケーション」>「インストール済み」に移動します。検索フィールドにアプリケーション名を入力し、Enter キーを押します。検索結果で、アプリケーションレコードをシングルクリックして開きます(ダブルクリックしないでください)。アプリケーションレコードの左上隅にあるスコープフィールドを見つけます。スコープフィールドの値をコピーします。これは通常、「sn_vul」や「com.snc.incident」のような短い文字列です。このスコープ値を、上記の手順3のデモデータ読み込みスクリプトで使用します。