Add warning field message to the new 'Request Clone' workspace

SNAdmin47
Kilo Sage

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. 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@SNAdmin47 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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 

@SNAdmin47 

you should check the "clone" workspace and then check "clone request page"

AnkurBawiskar_0-1744807566410.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader