- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 01:44 PM
I must be missing something...I've got a couple simple list widgets on a portal, I don't want these to appear if there are no records. I have left the "Show even when empty" box in the instance options unchecked...but when I impersonate a non-roled user, they still appear. Any help is why this is happening? Thanks!
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 11:24 AM
Turns out this is a known error that should be fixed in Madrid,
Here's the KB with workaround
https://hi.service-now.com/kb_view.do?sys_kb_id=e83891b4db829380852c7a9e0f96196b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2019 05:21 PM
Hi Sherry, see this KB for the workaround.
https://hi.service-now.com/kb_view.do?sys_kb_id=e83891b4db829380852c7a9e0f96196b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 08:04 AM
Description
On Service Portal if you have configured a simple list widget with the always_show option set to false, the widget still appears even if there is no data to display.
Steps to Reproduce
- Create a new portal page from page designer and add the "simple list" widget
- Open the widget instance in platform view and set the following settings:
Table: Incident
Conditions:
Assigned to is (dynamic) Me
AND
Caller.Active is true
Display field: Short description
Link to this page: form
Additional options, JSON format:
{
"always_show": {
"value": "false",
"displayValue": "false"
}
}
3. Impersonate Abel Tuter (ensure there are no incidents assigned to Abel) and navigate to the portal page created in step 1 (https://<instance_name>.service-now.com/sp?id=<id_of_page>)
The simple list widget shows even if there are no records returned
Note: if you set the always_show value to empty string, this works as expected
Workaround
Manually remove the always_show property from the Additional JSON options in the sp_instance record.