- Print
- PDF
It is possible to call Azure Storage commands directly via scripting in Lasernet, just like modifiers and SharePoint commands. This is done via an array called azurestoragecommands. In order to retrieve a specific command, use the index operator “[]” and a string with the name of the command as an argument. You can then use the run function to invoke the command.
This capability enables you to batch call Azure Storage commands in sequence.
For example: azurestoragecommands['DownloadBlob'].run(job);
Tip
You can drag any Azure Storage command from the configuration into the Script editor window and the script for running it (including the value and parameter) will be automatically inserted.