I just spent a few minutes copying the content of a five method script, method by method, from a script in one automation to a script in another automation in the same project, then replacing the instances with the identical ones in the new script definition (the source automation was to be deleted and I couldn't figure out how to move the script which was called by other automations). However, I can envision wanting to put frequently used methods such as the ones below in one script and copying it to multiple solutions.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Another method is to copy out the script contents from within the os file XML and copy it to a new script object in another project. Here is a method we use for keeping the same set of scripts in multiple projects. Importing the global container works, however it will keep the IDs the same and will require you to change the ID of the script container for your project to build properly.
Posted: 6 years ago
Posted: 5 Jun 2017 21:09 EDT
Michael Tan (tanm1)
Senior System Architect