Configurable Workspace Reference Fields open Modal but do not load records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 09:04 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:53 AM
On the "Record" (Record Default)" Page variant copy (neither in the original) I do not find the "record" data resource. am I missing something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 09:18 AM
HI Support had to correct something in our database to correct my problem however they didn't share enough details for me to know what they did.
My variant of Default Record does not have a 'Record' Data Resource and it works. If it is a variant and not something you created from scratch, I'd ask HI for help finding the missing parts as it's likely missing some reference in the macroponent related lists that would be very hard to find. I've had that a few times.