Lesson 2
Customizing user profile
To customize the user profile in ServiceNow, you’ll need to modify the user profile page and its associated widgets. This involves identifying the relevant page, widgets, and then making changes to the HTML, CSS, or server scripts. You can also add custom fields and modify the visibility of existing fields.
- Navigate to the portal where the user profile is located (e.g., Service Portal, Employee Center).
- Locate the specific user profile page.
- Identify the widgets used to display user profile information on the page.
- Common widgets include those for displaying personal information, contact details, and other relevant data.
-
Accessing Widgets:
Go to Service Portal > Widgets and search for the widget you want to modify.
-
Making Changes:
You can modify the HTML, CSS, or server scripts of the widget to customize its appearance and functionality.
-
Adding Custom Fields:
To add custom fields, you may need to expose them in the Service Portal view of the user table and potentially modify the client script and server script to include the new fields in the widget’s model.
4. Creating New Widgets:- If you need more extensive customization, you can create new widgets to replace or augment the existing ones.
- This involves designing the widget’s HTML, CSS, and server-side logic to display the desired information and functionality.
5. Customizing Field Visibility:- You can control the visibility of profile fields (e.g., making them public or private) by using the “Display publicly” toggle in the user’s profile settings.
- For more advanced control over field visibility and editability, you can use Access Control Lists (ACLs) to restrict access based on roles or other conditions.
6. Additional Customization:-
HR Profile:
If you need to customize HR-specific profile information, you might need to work with the HR Profile instead of or in addition to the User Profile.
-
User Menu:
-
While you can’t directly add items to the user’s profile menu, you can use admin configurable menus to add items to the header.
-
-
