Can I duplicate the Script Include?

Rick54
Tera Expert

Hello,

We had to do a tweak in the OOTB Script Include. To do this we've duplicated(by keeping the same name) the OOTB script include and modified it to satisfy our need then deactivated the OOTB Script Include. I've few question around duplicating the OOTB Script Include and possible issues.

1. Is it safe to duplicate it? We did this to avoid the skip during an upgrade.

2. What happens when OOTB SI gets an update? Like a SI new call being added somewhere in the system for OOTB SI How can I overcome this?

Thanks for your time.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi,

1. Is it safe to duplicate it? We did this to avoid the skip during an upgrade.

Yes it is safe if you make sure you do the following:

  • Keep OOTB settings, conditions, etc.
  • Whenever you need to extend OOTB settings, duplicate your script include and duplicate the entry where you would like to use such ACLs, etc. Whenever an upgrade happens, your functionality will not be affected.  
  • I advice you to keep OOTB settings enabled and extend the functionality on a new script keeping the original settings. 

PS. I would suggest having a prefix on the ScriptIncludeName like RickScriptIncludeName. 

2. What happens when OOTB SI gets an update? Like a SI new call being added somewhere in the system for OOTB SI How can I overcome this?

Nothing if you follow previous bullets. Your functionality could be affected during an upgrade but applying this quite of practices reduces (80%) chances of being affected. 

Thank you,
Raf 

View solution in original post

9 REPLIES 9

Your OOTB code on your instance will be skipped during upgrade since you deactivated it and captured in your custom update set.

 

You will have to merge changes in your OOB object after upgrade is completed by comparing versions.

 

Regards,

Sachin

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,


1) If you deactivate OOB script include then OOB functionality may get impacted and while you upgrade then you may land into missing some new features or updates coming to this Script include.

 

2) Yeah, as you deactivate it, it will not get updated with new features if there are any.

 

THanks,
Ashutosh

Thanks for the reply Ashutosh.

Community Alums
Not applicable

Hi,

1. Is it safe to duplicate it? We did this to avoid the skip during an upgrade.

Yes it is safe if you make sure you do the following:

  • Keep OOTB settings, conditions, etc.
  • Whenever you need to extend OOTB settings, duplicate your script include and duplicate the entry where you would like to use such ACLs, etc. Whenever an upgrade happens, your functionality will not be affected.  
  • I advice you to keep OOTB settings enabled and extend the functionality on a new script keeping the original settings. 

PS. I would suggest having a prefix on the ScriptIncludeName like RickScriptIncludeName. 

2. What happens when OOTB SI gets an update? Like a SI new call being added somewhere in the system for OOTB SI How can I overcome this?

Nothing if you follow previous bullets. Your functionality could be affected during an upgrade but applying this quite of practices reduces (80%) chances of being affected. 

Thank you,
Raf 

Rick54
Tera Expert

Thanks for the detailed explanation.