--- title: "SharePoint Commands" slug: "sharepoint-commands-10" description: "Information about SharePoint commands in Lasernet Developer." updated: 2026-10-06T22:08:11Z published: 2026-10-06T22:08:11Z canonical: "kb.lasernetgroup.com/sharepoint-commands-10" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # SharePoint Commands **Applies to:** Lasernet Core 10 SharePoint commands are added through the Databases menu in Lasernet Developer. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-01.png) There are ten different command types for REST API but only five for Graph API. They will be listed in the following sections. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-02.png) ## INSERT and UPDATE These command types work exactly like the SharePoint output module but are split in two different command types. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-03.png) | Setting | Description | | --- | --- | | **Overwrite** | Select the checkbox to allow an Insert command to overwrite an existing document. > [!NOTE] > Note > > This setting is only supported for the SharePoint 365 modifier module. | | **Share publicly** | Select the checkbox to share the inserted file publicly with or without shared link expiration. > [!NOTE] > Note > > This setting is only supported for the SharePoint 365 with REST Graph API. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-04.png) The offset can be set from 1 to 999 days, where 7 is the default value. | | **Doc. in** | Describes where Lasernet Core should read the document data. - **JobData:** The document will overwrite the data of the primary job. - **JobInfo:** The document will be stored in a specific JobInfo. The default is SharePointSelectResult. | | **Fields** | SharePoint documents can contain a lot of metadata, so it is possible to choose which fields should be stored, and in which JobInfos, in Lasernet Core. | ## SELECT This command type is used to retrieve documents or metadata. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-05.png) | Setting | Description | | --- | --- | | **Doc. in** | Describes where Lasernet Core should store the actual document data - **NULL:** The document will not be stored. Use this to only load fields. - **JobData:** The document will overwrite the data of the primary job. - **JobInfo:** The document will be stored in a specific JobInfo. The default is SharePointSelectResult. | | **Fields** | SharePoint documents can contain a lot of metadata, so it is possible to choose which fields should be stored, and in which JobInfos, in Lasernet Core. | ## DELETE This command type is used to delete specific documents or entire folders of documents. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-06.png) If no filename is specified, the folder specified by the **Path** setting will be deleted. ## CHECK OUT This command is used for checking out documents for editing. > [!NOTE] > Note > > This command type is not supported by Graph API. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-07.png) Offline editing is used to edit documents when you are not connected to the SharePoint server. ## CHECK IN This command type is used for checking in documents that were previously checked out. > [!NOTE] > Note > > This command type is not supported by Graph API. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-08.png) | Setting | Description | | --- | --- | | **Type** | When checking in documents it is possible to update revision number of the document in three ways (if enabled in SharePoint). - **Minor (1.x):** The minor part of the version number is incremented. - **Major (x.0):** The major part of the version number is incremented. - **Overwrite file:** The version number is not incremented. | | **Comment** | Optional comment for check in. | ## DISCARD CHECK OUT This command type is used to rollback any changes done since the document was checked out. > [!NOTE] > Note > > This command type is not supported by Graph API. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-09.png) ## NEW FOLDER This command type is used to create a new folder in the document library. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-10.png) ## NEW DOCUMENT LIBRARY This command type is used to create a new document library > [!NOTE] > Note > > This command type is not supported by Graph API. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-11.png) ## NEW SUBSITE This command type is used to create a new subsite. > [!NOTE] > Note > > This command type is not supported by Graph API. > [!NOTE] > Note > > This command type is not supported by REST interface (SharePoint 365). ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-sharepoint-commands-10-image-12.png)