Hi All, Want to make a date field readonly but it should allow calender to choose date in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 03:19 AM
Hi All, I Want to make a date field readonly or the input box hould be disabled but it should allow calender to choose date in workspace. I tried with ui policies and client scripts but the calender is also becoming readonly in workspace any approach or suggestion here plz?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 05:01 AM
got it.
in that case your script will work in native UI but not sure if it works in Workspace
Did you try that in workspace?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 05:06 AM
Yes you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered. For a fully Workspace safe solution using UI Builder properties or the Workspace compatible client script approach would be more reliable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 05:08 AM
@Ankur Yes, you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered. For a fully Workspace-safe solution, using UI Builder properties or the Workspace compatible client script approach would be more reliable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 05:08 AM
Yes, you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2025 05:29 AM
@Ankur Bawiskar Yes, you are right; my script works reliably in the Classic-Native UI, but in Workspace it depends on how the field is rendered.
