Configurable Workspace Reference Fields open Modal but do not load records

Steven Steichen
Tera Expert

I have a defect in Configurable Workspace. Any page variant or maybe any extended table like a new Case Type breaks the default relationship between a reference field on the record view and the default modal/modal container on the page.

 

When in Configurable Workspace, I view a Case record and its associated view. When I click on the spyglass or magnifier icon of a reference field to open the modal 'popup' window it opens Modal. However, it does not trigger the viewport to show the loading icon and it doesn't load the record list as it does on non-variant pages. I've tracked the Event to the Client Script to the States. The Event payload is correct, and the modal is tied to the State and the States are set. I've compared everything between working pages and the non-working page(s) and see no difference. The variants, as expected, clones everything over, macropontents, events, states, scripts, page parameters.

What part has to be missing? Could this be ACL as CWS does need special permission at times? Has anyone seen this? I found one post saying it's missing an event but nobody in that post can find it and my troubleshooting indicates it has to be something inside the modal container viewport.

I've attached 2 screenshots. What I get and what I expect. Note that no Loading component shows so it couldn't have gotten everything, however it got the "content" state param as it shows we want Assignment Group and that WAS passed in the "content" state param that I logged to console.

 

I have been working in UI Builder for weeks. I've configured and built a lot of things like custom Contextual Side Bar tool. Even a completely custom Ribbon Component using some of ServiceNow source code on Git so I'm not new to UI Builder or how it works but I'm not immune to error and open to someone with more experience.

11 REPLIES 11

Vijayalakshmi P
Kilo Sage

Hi @Steven Steichen  - We had a similar issue, when we duplicated the OOB Record page as a new variant.

In the sys_ux_screen_type (ref look up screen), a sys_ux_screen_condition was missing. After we have added it and it started to show the list.

can you help me on this? I couldn't find a missing or which missing condition

 

 

Steven Steichen
Tera Expert

@Vijayalakshmi P 
Thank you for looking at my issue. I checked those tables and cross checked them with a PDI Variant that works and to my variant that does not, and all the records look to match for those, and all the other tables related.

Anything you can add that narrows what I'm hunting for? 

Vijayalakshmi P
Kilo Sage

@Steven Steichen

From your sys_ux_macroponent record - navigate to Child Screens (Related list) - navigate to DA Modal Ref Tree Pick Lookup record - Compare the UX Screen Conditions (Related list) with your PDI.

Pls give a try..