- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2018 07:38 AM
Hi,
How to hide a widget on Service Portal when no data is available?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2018 07:42 AM
HI,
Which widget do you want to hide? You have to edit that widget, some widget dont even show up if there is not data to be displayed, where we coded. For example : I used ng-show="data.flag" and my server script set it to true if data and false if no data.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2018 07:42 AM
HI,
Which widget do you want to hide? You have to edit that widget, some widget dont even show up if there is not data to be displayed, where we coded. For example : I used ng-show="data.flag" and my server script set it to true if data and false if no data.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2018 07:52 AM
I am working on the announcement widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 03:32 PM
How does your HTML code look for the ng-show="data.flag" you are talking about? I am newish to scripts/HTML, and I'm not sure how to code the server script to set it to true if data and false if no data. Thank you!