---
original_url: "https://jace.pro/blog/service-portal-viewing-what-is-loaded-on-the-page/"
format: markdown
ai_optimized: true
---

Service Portal: Viewing what is loaded on the page# Service Portal: Viewing what is loaded on the page

August 16, 2018 [servicenow ](/tags/servicenow/)[service-portal](/tags/service-portal/)

  Enable AI AnimationThis is blatantly taken from [HI](https://hi.service-now.com/kb_view.do?sys_kb_id=cc706ab7db19db4058dcf4621f96194e) as this I think is useful enough to re-post nearly verbatim.

If you’ve ever needed to know which Client Scripts, UI Policies, and UI Actions are loading onto the page when you view a form or Service Catalog item in Service Portal, the information is readily available if
your know where to look.

If you are using the out-of-box “SC Catalog Item” and “Form” widgets, you can find this information in the widgets scope.

To view the widgets scope, hold down the CTRL key and right-click anywhere in the widget. Choose “Log to console: $scope”. Open your browser developer tools to the JavaScript console. Expand the “Object”
that has been dumped to the console.

# [“Form” widget](#form-widget)

### [Client Scripts are located at](#client-scripts-are-located-at)

`data.f.client_script`

### [UI Policies are located at](#ui-policies-are-located-at)

`data.f.policy`

### [UI Actions are located at](#ui-actions-are-located-at)

`data.f._ui_actions`

# [“SC Catalog Item” widget](#sc-catalog-item-widget)

### [Client Scripts are located at](#client-scripts-are-located-at-1)

`data.sc_cat_item.client_script`

### [UI Policies are located at](#ui-policies-are-located-at-1)

`data.sc_cat_item.policy`

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2018/2018-08-16-service-portal-viewing-whats-loaded-on-the-page.md).

[Service Portal: Viewing what is loaded on the page](https://jace.pro/blog/service-portal-viewing-what-is-loaded-on-the-page/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/service-portal-viewing-what-is-loaded-on-the-page/*
