Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Australia - Demands page - change the view used?

Tom Sienkiewicz
Giga Sage

Hi Everyone, 

 

I'm trying to have the new Australia Demand workspace page open my custom view for Demands table.  UX view rule was created, but it does not have any effect.

 

In the URL I can see that the view is somehow passed via the parameters. I am unable to find the right place in the UI builder config, where this would be stored. Maybe anyone would be able to help:

URL: XXX.service-now.com/now/alignment-workspace/demands/sub/record/dmn_demand/d28b751297028b101e46f2ae2153af1c/params/views/workspace_apw_default/refresh-requested/1785757106185

 

TomSienkiewicz_0-1785757297233.png

 

Seems like the Demands list opens the "record" subpage but it does not contain that view.

I found "APW Default" view in the list controller for the "demands" parent list page, updating this to my view did not change anything.

 

Any help from UI Builder experts or SN colleagues who know this config will be greatly appreciated!

Thanks

 

 

 

6 REPLIES 6

Oh, that happened to me as well.

In my case, I had 7 different products, and I created 7 different views with conditions based on the Product field. Unfortunately, I couldn't get the UX View Rules to work as expected.

As a workaround, I ended up using a single default view and created UI Policies to show or hide fields based on the Product value. It's not the ServiceNow best practice, but it was the only solution I could get working.

Lea Lap_ansk_
Tera Contributor

Hi, 

the view appears to be forced by the "Get Default Selected Item for L2 Menu" data resource event. When the page is opened, the event sets the view parameter to workspace_apw_default.

You can verify it in UI Builder. If you need a different view, you can adjust this parameter accordingly.


LeaLap_ansk__0-1790750784085.png