Set chrome toolbar icons to take you to a report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2024 07:40 AM
I am trying to figure how to link the chrome_toolbar icon so that when it is clicked it takes you to a saved report in servicenow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 06:36 AM
Hello @David52 , did you figure out a way to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2025 04:53 AM - edited ‎05-05-2025 04:54 AM
Hi @David52 ,
Proposed solution:
- Locate the Saved Report
- Navigate to Reports > View/Run in ServiceNow.
- Open the saved report you want to link.
- Copy the URL of the report from the browser's address bar.
- Access UI Builder
- Navigate to All > Now Experience Framework > UI Builder.
- Open your workspace (e.g., GRC Workspace) in UI Builder.
- Configure Chrome Toolbar
- In UI Builder, click on View experience settings (upper-right corner).
- Select Advanced Settings under the General section.
- Locate the chrome_toolbar property in the related list of UX Page Properties.
- Add Toolbar Icon Configuration
- Open the chrome_toolbar property and edit its JSON configuration.
- Add a new JSON object for your report link:
json
{
"id": "saved_report",
"label": {
"translatable": true,
"message": "Saved Report"
},
"icon": "document-outline", // Choose an appropriate icon
"routeInfo": {
"route": "/nav_to.do?uri=<REPORT_URL>"
},
"group": "top",
"order": 500,
"availability": {
"roles": ["admin", "report_user"] // Adjust roles as needed
}
}
Replace <REPORT_URL> with the URL of your saved report.
- Save and Refresh
- Save the updated chrome_toolbar property.
- Refresh your workspace or clear cache using /cache.do.
Thank you.