Skip to content

Commit fae0574

Browse files
Create README.md
1 parent 48d7226 commit fae0574

File tree

1 file changed

+22
-0
lines changed
  • Modern Development/Service Portal Widgets/My Assets

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# My Assets Widget
2+
3+
## Overview
4+
Displays assets assigned to the logged-in user in a clean, responsive table.
5+
Data is fetched from the `alm_asset` table using a secure server script.
6+
7+
## Files
8+
- **HTML** – Defines the widget layout and table structure
9+
- **Server Script** – Retrieves user-specific assets from `alm_asset`
10+
- **CSS** – Adds modern, responsive styling
11+
12+
## Features
13+
- Responsive table layout
14+
- Record count badge
15+
- Hover and gradient effects
16+
- Empty state message
17+
18+
## Usage
19+
1. Navigate to **Service Portal > Widgets** in ServiceNow.
20+
2. Create a new widget and paste the HTML, Server Script, Client Script, and CSS.
21+
3. Save the widget and add it to your desired portal page.
22+
4. The widget automatically displays assets assigned to the logged-in user.

0 commit comments

Comments
 (0)