How to modify the OOB script include used in multiple places(widgets,other script include...etc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2024 10:30 PM - edited ‎02-04-2024 10:32 PM
Hello Community,
We need to customize the todoPageUtils script include which is from OOB. This has been called in multiple widgets, script includes etc.., In this we have to change the sorting order of tasks.
Earlier once we have modified this script include and later we've been seeing some error then changing it to the latest version removed the error.
So to eradicate this again, how to proceed further with script include, Again updating the requirement in OOB script include or customizing it? but this has been used in many places not sure for this we might have to be clone the OOB widgets as well.
Please Suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2024 01:19 AM
In a case where there's a lot of references from other OOB widgets and scripts, I'd stick with customizing the OOB script include.
Also customizing the OOB one gives you information of new updates every single time it's captured in the skipped upgrades during version upgrade. So, when ever you're upgrading you'll also have to make sure you check if there's anything new that needs to be added to the script. This is really important and you have to do it every time before you upgrade prod. Most of the times things will keep working for years, but it gets much harder to update the script if there are hundreds of lines of new features included.