Add warning field message to the new 'Request Clone' workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2025 03:41 AM
We recently had an issue when performing a clone because the incorrect clone profile was selected, and as such we want to add an onLoad showfieldmsg client script to the request clone form to ensure future clones are requested using the correct profile. This has been done easily on the legacy 'Request Clone' form via client script, but I'm struggling to find a way to edit the newer workspace version of the 'Request Clone' page, i.e., 'Clone Admin Request -> Request Clone' to add a client script and display the message.
Any suggestions? Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2025 04:46 AM
for that you will have to perform some scripting in workspace component.
If it's too complicated then disable that left nav module and only allow users to use the legacy one
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2025 05:36 AM
Thanks @Ankur Bawiskar , I'd prefer to be able to edit the workspace and provide that field message so we're using the current methods/tooling moving forwards. Do you have any basic guidance on where to access the workspace component to apply the script? I've not used workspace previously, only the native UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2025 05:46 AM
you should check the "clone" workspace and then check "clone request page"
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader