Currently there is the ability to Validate a script in Cube. We have discovered that several of our scripts failed to work after a SRM framework upgrade, and validating these scripts showed where the issue was/how to resolve.
Is there a way to bulk validate all the scripts in a DMS, even if it just highlights number of errors/warnings per script, so at a glance we can see which scripts require closer examination.
Hi Dave,
As far as I know there is no possibility yet to validate scripts in bulk.
It could indeed by very hand to have this feature available.
I suggest you add it to the Feature Suggestions.
Regards,
You can request the BPA by sending an email to techsupport@skyline.be. See https://community.dataminer.services/new-feature-suggestions/ability-to-bulk-validate-scripts/
Hi Dave
Another option is to have those scripts in an Automation Script Solution (available via DIS). This way, when updating the SLSRMLibrary DLL in the solution, you can more easily validate by building the entire solution.
More information about Automation Script solutions can be found here: Developing Automation scripts as Visual Studio solutions | DataMiner Docs
P.S.: Skyline will announce soon that DIS is free. You just need to have a Dojo account and use that to log in into DIS. So feel free to try out DIS, if you haven't yet. DIS offers a lot of nice features for development of scripts and connectors.
To check a script, a CheckAutomationCSharpSyntaxMessage is sent, but it requires the code to be provided as plain text. So it’s technically possible to write a script that would check all other scripts, but it would be a cumbersome way of doing it.