Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Change Interceptor UI (classic view)

Isolda
Tera Expert

I would like to change the appearance of the 'Create New Change' interceptor and change the links to the different change models for buttons or some other functionality that makes the page more attractive and usable for fulfillers from the classic view. How can I do this?

What options do I have? I'm not finding a clear way to do it. Thanks

Isolda_0-1763383837291.png

 

5 REPLIES 5

Chaitanya ILCR
Mega Patron

Hi @Isolda ,

 

You can create a UI Page 

ChaitanyaILCR_0-1763385477874.png

UI page HTML

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

    <button class="btn btn-primary" onclick="openChangeForm('normal')">Normal Change</button>
    <button class="btn btn-danger" onclick="openChangeForm('emergency')">Emergency Change</button>
    <button class="btn btn-success" onclick="openChangeForm('standard')">Standard Change</button>

</j:jelly>

Client script

function openChangeForm(type) {

    window.open('/change_request.do?sys_id=-1&sysparm_query=type=' + type); // Opens in new tab
}

and create a module and add the UI Page url to the module

ChaitanyaILCR_1-1763385634760.png

Result( this is a simple demo with UI page you can make this more interactive and attractive)

ChaitanyaILCR_2-1763385665670.png

you can deactivate the OOB Module "Create New"

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya