Issue with Simple List page UI Builder - list view parameter

jmcagod
Kilo Guru

I created a landing page for a specific role that displays a bunch of Single Score Data Visualization reports.

These single score has an event attached to them that redirects them to a simple list

 

Currently I am using OOB Simple list, and I wanted to redirect user to a list with a specific view - workspace view

but even if I update this with the name of the view, its not working

jmcagod_0-1691002746591.png

 

 

I saw this post 

https://www.servicenow.com/community/next-experience-forum/ui-builder-simple-list-custom-view/m-p/22...

 

I tried to duplicate the OOB 'Simple List' page because it was read only

jmcagod_1-1691002848556.png

Also updated the name of the parameter, just like the post suggested above.

jmcagod_2-1691002892744.png

 

 

Problem:

1. When trying to update the Destination of my event, I cant see the Copy of the Simple List

2. I tried updating the browser URL after it navigates to the list 

from: list-view to view , but it didnt update the list view? (I was just trying different ways)

jmcagod_3-1691003411855.png

 

 

If anyone has done this before, I need some guidance!

 

Thanks!

 

 

 

5 REPLIES 5

Michael Fry1
Kilo Patron

Instead of passing a view, pass the column names:

Screenshot 2023-08-03 at 11.59.35 AM.png

I dont see the columns options on the Simple List parameter, unless there is another List page I can redirect to?

 

I also checked other OOB Data Visualization single score, they hardcoded a listview, its working properly 

jmcagod_0-1691164609185.png

 

Nootan Bhat
Kilo Sage

@jmcagod ,

In the page parameters you have declared listView but you are using the @context.props.view which is not defined in the page property. Use listView instead of view and pass the value for listView when routing to the page "Simple List".

 

Let me know if it helped.

Thanks

Nootan

Sebastian Kring
Tera Contributor

Hi @jmcagod,

what helped for me is to set the list view to "Workspace":

SebastianKring_0-1721214205157.png

Hope that helps!

 

Kind regards

Sebastian