Disable clicks in portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2020 04:15 AM
Hi, I have a requirement to show dashboards on portal. I have created a new widget and added the dashboard using the iframes, however unable to disable the mouse clicks on it.
Already tried below CSS with no luck.
.report_content {
pointer-events:none;
}
.avoid-clicks {
pointer-events: none;
}
Please suggest
Thanks and Regards, Rohit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 02:36 AM
Hi Rohit,
Please use the following property in the CSS:
.avoid-clicks {
pointer-events: none;
overflow: auto;
}
Thanks,
Enrique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 12:14 AM
Thank you Enrique, unfortunately it's still the same. Scroll bar is not enabled.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 03:29 AM
Hi Rohit,
IFrame's are not supported on the Service Portal as per: https://community.servicenow.com/community?id=community_question&sys_id=eb201be5dbdcdbc01dcaf3231f96...
In my personal instance, I created a clone of the "Report" widget and amended the .report-widget-wrap CSS to reflect the following:
.report-widget-wrap {
background:#fff;
padding:15px;
margin: 0 0 15px 0;
pointer-events: none;
overflow: auto;
}
When I added that widget to the Service Portal, It was successfully read only and the report displayed correctly:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2020 01:46 AM
Hi
Instead of providing the class, can you try with this -
iframe {
pointer-events: none;
}
Let me know if that helps.
Regards
Omkar Mone
2020 Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 12:08 AM
Hey Omkar, thanks for the response. Yes, it helped, however it disabled the scroll bar also, want to know if we can enable the scroll bar while continue disabling the drill downs in reports?
Thank you, Rohit