Article:Display Workspace Related Lists Horizontally Instead of Vertically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
In ServiceNow Workspace, related lists are displayed vertically by default within a single Related Records tab, as shown in the screenshot. Developers may want to display these related lists horizontally to provide a more compact and organized layout and improve the overall user experience.
This article explains a way to configure the Workspace so that the related lists are displayed horizontally, allowing developers to achieve the desired layout without having to create unnecessary custom pages.
Solution:
The horizontal layout can be enabled using the relatedListLayout page property.
The relatedListLayout property is not provided by default. Developers need to manually create this page property and configure its value as: horizontal
Before creating this property relatedLists are displayed as Vertically which is displayed in image1 attached below
Where can we create this property?
Navigate to All → Now Experience Framework → Experiences → Service Operations Workspace after that you can a related list called UX page properties
Click on new and give the names as relatedListLayout and value as horizontal
Now you can see the related lists are displayed horizontally as a separate tab for each relatedList. You can see the result in image2 attached below.