In some projects, the same code is reused in multiple Automation scripts. However, that means that when you need to make a change to that code, you need to update multiple scripts. That could take a lot of time and effort, so luckily there’s a better way to deal with this.
Many people don’t know this, but you can actually use an existing Automation script as a library. In the Automation app in DataMiner Cube, there is an advanced option that will compile a block of C# code as a library. You can then import that library in other Automation scripts.
We have just updated the DataMiner User Guide to make it even more clear how you can use this feature, including how you can use a library in a DataMiner Automation Script Solution. Curious to know more? Here’s the place to be: Compiling a C# code block as a library.