<h2>How to Load Demo Data for Installed Applications as System Administrator (Step-by-Step Guide)</h2><br/><div style="overflow-x:auto"><style type="text/css"><!-- /*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: ; } } </style> <div class="ns-kb-css-body-editor-container"> <div><span style="font-family: verdana, geneva; font-size: 8pt;">Steps to Load Demo Data:</span><br /> <ol style="list-style-position: inside;"><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Log in to your ServiceNow instance with System Administrator [admin] privileges.</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Navigate to System Definition > Scripts - Background.</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Copy and paste the following command in the Run script window: GlidePluginManager.loadDemoData('<application scope>');</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Replace '<application scope>' with your specific application's scope name.</span> <ol style="list-style-position: inside;"><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">For example, to load Vulnerability Response demo data run:</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">GlidePluginManager.loadDemoData('sn_vul');</span></li></ol> </li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Click "Run script in scope global" to execute the script.</span></li></ol> <div> </div> <div><span style="font-family: verdana, geneva; font-size: 8pt;">Detailed Instructions for Finding the Application Scope:</span></div> <br /> <ol style="list-style-position: inside;"><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Navigate to System Applications > Applications > Installed</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">In the search field, type the name of your application and press Enter.</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">In the search results, single-click on the application record to open it (do not double-click).</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Locate the scope field in the top left corner of the application record.</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Copy the value in the scope field - this is typically a short string like 'sn_vul' or 'com.snc.incident'.</span></li><li style="font-family: verdana, geneva; font-size: 8pt;"><span style="font-family: verdana, geneva; font-size: 8pt;">Use this scope value in the demo data loading script from Step 3 above.</span></li></ol> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></div>