Remove "Data table with Instance definition" widget from the page if no records are present.

ShubhiBaronia
Tera Contributor

I'm using OOB widgets "Data table with instance definition" and fetching few classes owned by logged in user, but I want to hide those widgets when filter does not satisfy and when widget return no records with message "No Record in configuration item using that filter".

 

Screenshot 2023-10-13 181614.jpg

1 REPLY 1

debendudas
Mega Sage

Hi @ShubhiBaronia ,

Please refer this post for the solution: https://www.servicenow.com/community/developer-forum/hide-the-quot-data-table-from-instance-definati...

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍