-
Notifications
You must be signed in to change notification settings - Fork 910
Share reports with users and groups #1905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rohi-v
merged 39 commits into
ServiceNowDevProgram:main
from
sivamuruganandam-coder:main
Oct 7, 2025
Merged
Share reports with users and groups #1905
rohi-v
merged 39 commits into
ServiceNowDevProgram:main
from
sivamuruganandam-coder:main
Oct 7, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nces in Published KB Articles
…nces in Published KB Articles
…llment Group References in Published KB Articles directory
…g user defined schedules directory
Contributor
|
I have requested few changes for siva, meanwhile @wiz0floyd Can you help me with checking the conflicts, I don't see the conflicts here but it's showing that this branch cannot be rebased. |
Contributor
|
Thank you for making the changes @sivamuruganandam-coder , Will review. |
Contributor
|
Looks Good and Amazing use case. This will be very helpful |
Contributor
Author
Thanks for reviewing.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description:
Use case:
Currently there's no OOB feature to share all the reports (legacy) from the particular dashboard (legacy) with the user or group at a time. Also, sharing the dashboard with the user/group does not share the corresponding reports with them automatically. In order to do that, admin or report owner should open each report and share them individually. If the dashboard has more reports i.e 20+, then it'll take a considerable amount of time to complete this task. To reduce the manual effort, we can use this custom logic/feature to share all the reports from the particular dashboard at a time.
Pre-requisite:
A database view which shows the reports shared with atleast one dashboard need to be created. ServiceNow community article link which explains how to build one..(Thanks to Adam Stout for this) https://www.servicenow.com/community/performance-analytics-blog/view-reports-on-a-dashboard-and-dashboards-using-a-report/ba-p/2271548
Components:
UI Page: It contains Jelly script (HTML), Client script and Processing script. Used to capture the user/group info and share the reports with them.
UI Action(Client): Created on the Dashboards (pa_dashboards) table. Used to open the UI page as a popup/modal window
This UI action is visible on the dashboard properties page (image attached)
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions