Tab widget mapping form
Summarize
Summary of Tab widget mapping form
The Tab widget mapping form enables you to display and control the visibility of widgets on specific tabs within the Employee Profile page in ServiceNow. This form helps configure which widgets appear on tabs, their order, and access permissions based on user roles and criteria.
Show less
Key Features
- Name: Defines the widget-mapping record name, used as the widget title in the widget options.
- Application: Associates the widget with a specific application, such as Employee Center Pro or Employee Center Pro Kiosk.
- Active: Option to activate or deactivate the widget on the tab.
- Order: Determines the sequence in which widgets appear on the tab.
- Tab: Associates the widget with a unique tab name.
- Accessible by: Controls visibility based on user roles (e.g., Employee only, Manager only, Everyone) or user criteria for specific users, groups, or roles.
- User Criteria: Allows fine-grained access control using "Available For" and "Not Available For" user groups, with "Not Available For" taking precedence.
- Allow employee to control visibility: When enabled, employees can edit widget visibility settings via the embedded Public Profile Visibility widget, with preferences stored in the user preference table.
- Widget: Selects the widget to display on the tab; visibility must be set true in server script for UI display.
- Widget parameters: Supports configuration of parameters such as enabling email or SMS notifications and setting default calendar views for specific widgets like Employee Schedule.
Practical Considerations
- Limit the number of widgets per tab to a maximum of seven for optimal load performance (approximately 250 ms load time).
- Use the
isUserSelectionEnabledandwidgetTitlevariables in widget options to manage employee-controlled visibility and widget titles. - Embedding the Public Profile Visibility widget allows employees to manage their profile widget visibility settings directly.
- Widget visibility respects both admin configurations and user preferences, with user-controlled settings taking precedence.
Benefits for ServiceNow Customers
This form gives administrators precise control over the Employee Profile page layout and content, ensuring that users see relevant widgets based on their roles and permissions. By customizing widget visibility and order, you can enhance user experience and streamline profile information management. Additionally, enabling employees to control visibility empowers them to manage their own profile information securely.
You can use the tab widget mapping form to display widgets on a tab and control their visibility.
| Field | Description |
|---|---|
| Name | Name of the widget-mapping record that is available in the widgetTitle variable of the widget options object. Use this variable value as the widget title. |
| Application | Application of the tab. For example, you can select one of the applications such as Employee Center Pro or Employee Center Pro Kiosk. |
| Active | Option to activate the widget in the tab. |
| Order | Order number in which you want the widget to appear on the tab. |
| Tab | Unique name of the tab that you want to associate with. |
| Accessible by | Users who can view the widgets.
|
| Allow employee to control visibility | This field appears only when you select one of the Employee only, Employee and manager, or Everyone options. Note: When you select the value as true, employees can see the edit option used to modify the visibility settings. The modified visibility setting
(employee_profile.widget_visibility) is stored in the user preference table. To view and change the visibility setting, embed the Public Profile Visibility widget
inside the configured widget. Note: Settings configured in the Allow employee to control visibility field take precedence over the
settings configured in the Accessible by field to display the information. Employees can change the admin configuration and determine how much of the profile information is visible to the
public. Here’s a sample code for invoking the Public Profile Visibility widget.
This field value is available in the isUserSelectionEnabled variable of the widget options object. |
| Widget | Widget to display on the tab. Note: Only when you map a widget to the tab, the information displays inside the tab on the employee profile page. When the widget is visible on the UI, set the isVisible variable value to true in the server script data object to indicate the widget visibility. For example, data.isVisible = true. For optimal tab load time, use a max of seven associated widgets, which can take 250 ms or equivalent. Note: If the widget type is Employee Profile Overview, you can select the set of sections to be displayed under this widget. |
| Widget parameters | Comma-separated list of widget parameters auto-populated with default values. For the Employee Schedule widget, to send Email or SMS, specify the widget parameters For default calendar view, specify |