Changes to UI Pages

bmtrimmer
Tera Contributor

We have made changes to an out-of-the-box UI Page. A consultant has come in and told us "making changes to a UI page is not recommended by ServiceNow". Can someone provide evidence of this claim (or the other way around)?

4 REPLIES 4

BALAJI40
Mega Sage

Hi Ben,



If you change any OOB script or anything, after any up gradation happens it will override the changes. Because of that reason if you to change any OOB features we are creating custom code and using those.



Yes we can make the changes to OOB also, if any thing it need to to be same any changes happen then make "replace on upgrade" to false. Please check the below link Overwrite a customization during an upgrade


sachin_namjoshi
Kilo Patron
Kilo Patron

It's not best practice to customize OOB objects ( e.g UI policy, UI pages, script includes, business rules ...) etc since future upgrade will skip these objects.



Instead, you can clone existing UI page and then customize your own copy which should be captured in custom update sets.



Please follow below for customization



Upgrades and their relation to customizations: Updated for Geneva



Regards,


Sachin


Mwatkins
ServiceNow Employee
ServiceNow Employee

Here are some more documents produced by ServiceNow, providing guidance about customizing parts of the product:



ServiceNow KB: Instance Customization FAQ and Guidelines (KB0553407)


Some important points from this document:



Since the code is part of the baseline installation and has been customized, the following would occur:


• You would need to maintain that code going forward


• You would be responsible for making sure that functionality still works after an upgrade


ServiceNow will still support you, however, if during a support call it is determined that the customization that was made is the cause of the issue, the support team would advise you to revert back to the code that was part of the baseline installation so that the support team can assist you.



Overwrite a customization during an upgrade


This page is from the product documentation and talks about how to make the upgrade overwrite your customization if a change is introduced in the next upgrade.



Customization Best Practices 101 (repeat 1 of 2)


This is written by a senior solution architect at ServiceNow. It does not address your question directly. It has two labs that provide a hands-on approach to explaining best practices about creating entirely new customizations. It does not talk about altering existing ones, like in your example. However, I have included it here because it has some good general guidelines about considering how to best meet your business requirements.



The main problem with customizing existing UI Pages is that they frequently have references to other scripts and Jelly templates or are referenced by other parts of the platform. Because of the high likelihood of dependencies, it is risky to change out-of-box UI Pages. Like the previous poster mentioned, it is better (if possible) to clone the out-of-box item and leave the original untouched.


shivanipatel
ServiceNow Employee
ServiceNow Employee

Ben,



We are glad you took advantage of the ServiceNow Community to learn more and to get your questions answered. The Customer Experience Team is working hard to ensure that the Community experience is most optimal for our customers.



If you feel that your question was answered, we would greatly appreciate if you could mark the appropriate thread as "Correct Answer". This allows other customers to learn from your thread and improves the ServiceNow Community experience.



If you are viewing this from the Community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thanks,


Shivani Patel


Unknown-1.png