- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi All,
I want to add a custom field called “New Laptop Required” type yes or no to the User Profile page in the Service Portal.
This is the page users see when they click their name → Profile inside the portal.
The current User Preferences section shows fields like:
- Accessibility
- Enable Analytics
- Time Zone
(please refer to the screenshot)
I want my custom field to appear in the same section and allow users to update the value.
Could someone guide me on:
- Which Service Portal widget controls this Profile page?
- How to add a new field inside that widget?
- Where to store the value — sys_user or sys_user_preference?
- Best practices to ensure this appears for all users.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hey @Sirri,
I just tried in my PDI and it worked just fine!
Go to any user form, select the Service Portal view and add that field to it either by Form builder, layour or design (up to your preferences)..
I selectedt he easiest way - Form layout:
Choose the field type and name (string, reference, etc) and select position on the form like i did for the Test field above et voilá:
If you want something more complex, you might need to (duplicate and) modify the User profile widget:
No AI was used in the writing of this post. Pure #GlideFather only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @Sirri
I think this is not the right approach. If you want to check the warranty, it’s better to use the Asset table or the user table to understand which assets a user has. From there, you can check the laptop assigned to the user and verify the warranty. If the warranty is expiring, you can display a message on the portal whenever the user logs in or makes a request.
Doing this via the user profile is not a good approach.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
