Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Ui pages in classic view and workspace view

Ramakrishna Rao
Tera Contributor

I have created one ui page in classic environment in servicenow and i enabled it on the workspace as well.

But, the functionality is working as expected in classic environment but not in workspace why? Please give suggestions. I am attaching the file as well

 

1 REPLY 1

boteeuwen
Tera Expert
Your UI Page is using classic Jelly based macro fields (specifically <g:ui_reference>) and standard sys_popup elements.
While ServiceNow successfully loads the UI Page's basic HTML layout inside the workspace modal, the core interactive elements (the list collector boxes, the lock/unlock icons, and the magnifying glass lookups) are completely broken because Workspace does not support the old classic rendering engine.
To fix this and get it working in the workspace without completely rebuilding it in UI Builder, you need to rewrite the code inside your UI Page using Workspace-compatible alternatives.

Instead of fixing an outdated UI Page template that will continuously break with future upgrades, my suggestion would be to replace the UI Page with a Workspace Modal Component.