UI Builder SOW Workspace Ignoring Defined Views on Record Page Variants

cagg
Tera Guru

Record page variants are using the Default view from the Home screen lists and from the Lists Menu in the SOW Workspace until refreshed. As you can see from the attached I have defined the view and forced view for our variant record page but they are ignored until refreshing the page. Once refreshed I have the correct Related List and available fields. 

 

Also if I open directly from the "Open" button on the page edit screen it is correct, and in the page preview too.

 

Has anyone run into this issue of the defined views on the Record pages being ignored until refreshed?

 

Thanks, Jim

5 REPLIES 5

Michael Fry1
Kilo Patron

You're defining a view on a data resource, not on the record page. If you look at the record page optional parameters, there is one for View. There is a page property called view that has a value of sow. If you want to override the view, which I don't advise, you'd need to change it on the variant in the configuration.

cagg
Tera Guru

Hi Michael, thanks for the response. So the only place I see the view param is in the "Test" params. Is there another place I should look and if so where - 

cagg_0-1681772655132.png

When I look at the page properties I see the view param as optional but no place to define it other than the "Test" section - 

cagg_1-1681772966265.png

 

 

Thanks, Jim

When you add the View per your screenshot, does it work?

 

When I said Page Properties, I meant UX Page Properties:

Screenshot 2023-04-18 at 10.17.06 AM.png

 

It only works if I open the page directly from the "Open" button or refresh from the list view load. If I use the List Menu or the Home page links it goes to the Default view. BUT if I refresh the Record page once it loads from the Lists I get the correct view.

 

Question is why does it work when refreshed? Makes no sense to me that I get a different view on the same URL...

 

I also tried setting on the List itself in the Event - 

cagg_0-1681829181262.png

 

I guess my next step will be to create all of the pages in the "sow" view. Gonna give that a shot.

 

Thanks Again, Jim