SharePoint Scripting
    • 30 Jan 2026
    • 1 Minute to read
    • Contributors
    • PDF

    SharePoint Scripting

    • PDF

    Article summary

    Applies to: Lasernet 11

    You can execute SharePoint commands directly via scripting in Lasernet, just like modifiers. This is done via an array called sharepointcommands.

    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.

    Example of Lasernet SharePoint scripting.

    Note

    You can drag any SharePoint Command item added to the configuration into the editor window. The script command to run SharePoint Commands, including value and parameter, will be automatically inserted.