My Request Widget - No Preview Available

Tim Kenny
Tera Contributor

We are in the process of revamping our portal homepage and we would like to include the My Request Widget.  When we attempt to add it, the widget looks like this.  Has anyone ran across anything simliar?

find_real_file.png

3 REPLIES 3

Kushagra Mehrot
Kilo Guru

The OOb my Request widget does below check, cross check this filter at your end.

 

var gr = new GlideRecordSecure('sc_request'); // does ACL checking
gr.addActiveQuery();

gr.addEncodedQuery('requested_for=javascript:gs.getUserID()');
gr.orderByDesc('sys_created_on');
gr.query();

Kushagra-

I validated that code is present in the widget.  I also attempted to recreate the issue in my servicenow dev instance and did not get the same error.

I created a copy of my requests widget > copied the code from my servicenow dev instance (where it was working)...still get the same results.

 

I have validated that the builds/patch level for both my dev instance and my hosted servicenow dev instance are both the same.

What am I missing?

Enabling Preview The preview feature is not enabled by default. To enable preview, click the Widget Editor menu button (Open the list menu button and select the clone widget option.) in the Widget Editor header and select the Enable Preview menu item check box. After enabling Preview, use the Preview button (Select the Clone Widget menu item) to test a widget.A widget Preview pane opens in the Widget Editor.