Microsoft SharePoint is a web application platform for content and document management, intranet portals, collaboration, extranets, websites and enterprise search. The Microsoft SharePoint connector for Anypoint platform enables integration with SharePoint 2013.
Additional Info
Requires Mule Enterprise License |
Yes |
Requires Entitlement |
No |
Mule Version |
3.7.0 or higher |
Configs
Okta Connection
<sharepoint-online:okta-connection-config>
Connection Management
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
name |
The name of this configuration. With this name can be later referenced. |
x |
||
oktaDomain |
x |
|||
username |
x |
|||
password |
x |
|||
oktaApiToken |
x |
|||
sharepointEmbededLink |
x |
|||
disableCnCheck |
When dealing with HTTPS certificates, if the certificate is not signed by a trusted partner, the server might respond with an Exception. To prevent this it is possible to disable the CN (Common Name) check. Note: this is not recommended for production environments. |
false |
|
|
proxyHost |
|
|||
proxyPort |
|
|||
proxyUsername |
|
|||
proxyPassword |
|
Online Connection
<sharepoint-online:online-connection-config>
Connection Management
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
name |
The name of this configuration. With this name can be later referenced. |
x |
||
username |
The username without the domain. |
x |
||
password |
Password used to authenticate the user |
x |
||
siteUrl |
Sharepoint endpoint URL |
x |
||
disableCnCheck |
When dealing with HTTPS certificates, if the certificate is not signed by a trusted partner, the server might respond with an Exception. To prevent this it is possible to disable the CN (Common Name) check. Note: this is not recommended for production environments. |
false |
|
|
proxyHost |
|
|||
proxyPort |
|
|||
proxyUsername |
|
|||
proxyPassword |
|
(Deprecated) Security Token Connection
<sharepoint-online:sectoken-connection-config>
Connection Management
Deprecated the SecurityTokenConnectionStrategy Connection Provider because the BasicConnectionProvider already obtains the security token by itself
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
name |
The name of this configuration. With this name can be later referenced. |
x |
||
siteUrl |
Sharepoint endpoint URL |
x |
||
securityToken |
(Optional) Security token to access Sharepoint (if left empty a token provider instance should be configured) |
|
||
securityTokenProvider |
|
|||
disableCnCheck |
When dealing with HTTPS certificates, if the certificate is not signed by a trusted partner, the server might respond with an Exception. To prevent this it is possible to disable the CN (Common Name) check. Note: this is not recommended for production environments. |
false |
|
|
proxyHost |
|
|||
proxyPort |
|
|||
proxyUsername |
|
|||
proxyPassword |
|
Processors
List item query
<sharepoint-online:list-item-query>
Paged Operation
Executes a query against a Sharepoint list and returns list items that match the specified criteria
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
query |
Query in the format listId?queryString |
x |
||
retrieveReferences |
Retrieve references |
false |
|
|
pagingConfiguration |
PagingConfiguration |
pagination of results |
x |
Returns
Return Java Type | Description |
---|---|
ProviderAwarePagingDelegate<Map<String,Object>,SharepointOnlineConnector> |
An array of Sharepoint List Items |
List delete
<sharepoint-online:list-delete>
DataSense enabled
Deletes a Sharepoint list
List get
<sharepoint-online:list-get>
DataSense enabled
Retrieves a Sharepoint list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
listId |
(Mandatory) Id of the list to retrieve |
#[payload] |
|
List get all
<sharepoint-online:list-get-all>
Retrieves all Sharepoint lists
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
List update
<sharepoint-online:list-update>
DataSense enabled
Updates the specified properties of a Sharepoint lists
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
listId |
(Mandatory) Id of the list to update |
x |
||
list |
(Mandatory) List Properties to update |
#[payload] |
|
List create
<sharepoint-online:list-create>
Creates a new SharepointList
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
list |
(Mandatory) Sharepoint List reference to create |
#[payload] |
|
List item create
<sharepoint-online:list-item-create>
DataSense enabled
Creates a new Item in an existing Sharepoint list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
listId |
(Mandatory) Id of the list where to create the Item |
x |
||
properties |
(Mandatory) Properties of the item to create |
#[payload] |
|
List item delete
<sharepoint-online:list-item-delete>
DataSense enabled
Deletes an Item from a Sharepoint list
Attach file
<sharepoint-online:attach-file>
DataSense enabled
Attach a File to an item from a Sharepoint list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
listId |
(Mandatory) Id of the list the item belongs to |
x |
||
attachmentInfo |
(Mandatory) the attachment information.Contains the itemId of the list item, the file name and the file content represented as a stream. The stream and file name must be given if localFilePath is empty |
#[payload] |
|
|
localFilePath |
the path to the file. Mandatory if the attachmentInfo is not filled with the relevant file information. |
|
List item update
<sharepoint-online:list-item-update>
DataSense enabled
Updates an Item from a Sharepoint list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
listId |
(Mandatory) Id of the list where to update the Item |
x |
||
itemId |
(Mandatory) Id of the item to update |
x |
||
updatedProperties |
(Mandatory) Item properties to update |
#[payload] |
|
Folder create
<sharepoint-online:folder-create>
Creates a folder in a Document list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
url |
(Mandatory) Server relative URL of the folder to create, e.g. /Shared Documents/new folder, creates a folder in the 'Shared Documents' list |
#[payload] |
|
|
welcomePage |
(Optional) Welcome page property of the folder, e.g. index.html |
|
Folder delete
<sharepoint-online:folder-delete>
Deletes a folder from a Document list
Folder query
<sharepoint-online:folder-query>
Retrieves all folders that matches the specified criteria
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
query |
(Mandayory) OData query in the format listDocumentName?queryString, e.g Shared Documents?$select=Name&$filter Name e.g. 'folderName' |
x |
||
startingFolderPath |
(Optional) The starting path of the folder from where to begin the query, relative to the document library selected as part of the query below, e.g. /myfolder/level2 search for folders inside /document library/myfolder/level2. [Note: you must specify the document library as part of the query below] |
/ |
|
|
recursive |
Specifies whether to search recursively in inner folders |
false |
|
File add
<sharepoint-online:file-add>
Adds a file to a Document list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Path and file name of the destination, e.g. /Shared Documents/#[flowVars.originalFilename] creates a file in 'Shared Documents' library |
x |
||
fileContentStream |
(Optional) The byte stream to be uploaded, e.g. #[payload] or #[file reference] . [Note: One of File Content Stream or Local File Path has to be specified] |
#[payload] |
|
|
localFilePath |
(Optional) Physical file path of a file to upload, e.g. /local/path/to/file.ext. [Note: One of File Content Stream or Local File Path has to be specified] |
|
||
overwrite |
Specifies whether to overwrite the uploaded file if another with the same name already exists |
false |
|
File delete
<sharepoint-online:file-delete>
Deletes a file from a Document list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to delete, e.g. /Shared Documents/filename.ext deletes 'filename.ext' from 'Shared Documents' library |
#[payload] |
|
File get metadata
<sharepoint-online:file-get-metadata>
Retrieves the metadata of a file
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to retrieve, e.g. /Shared Documents/filename.ext retrieves 'filename.ext' from 'Shared Documents' library |
#[payload] |
|
File update metadata
<sharepoint-online:file-update-metadata>
Updates the metadata of a file
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to retrieve, e.g. /Shared Documents/filename.ext retrieves 'filename.ext' from 'Shared Documents' library |
x |
||
updatedProperties |
(Mandatory) File properties to update |
#[payload] |
|
File get content
<sharepoint-online:file-get-content>
Retrieves the content of a file
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to get the content, e.g. /Shared Documents/filename.ext gets the content of 'filename.ext' from 'Shared Documents' library |
#[payload] |
|
Returns
Return Java Type | Description |
---|---|
byte[] |
A ByteArray containing the file content |
File check out
<sharepoint-online:file-check-out>
Checks out a file from a document library
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to check out, e.g. /Shared Documents/filename.ext checks out 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
File undo check out
<sharepoint-online:file-undo-check-out>
Reverts an existing checkout for a file
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to undo the check out, e.g. /Shared Documents/filename.ext undoes the check out of 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
File check in
<sharepoint-online:file-check-in>
Checks the file in to a document library based on the check-in type
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to check in, e.g. /Shared Documents/filename.ext checks in 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
|
checkInType |
Check In type for te file: MinorCheckIn, MajorCheckIn or OverwriteCheckIn |
x |
||
comment |
A comment for the check-in |
|
File publish
<sharepoint-online:file-publish>
Submits the file for content approval
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to publish, e.g. /Shared Documents/filename.ext publishes 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
|
comment |
The comment for the published file |
|
File unpublish
<sharepoint-online:file-unpublish>
Removes a file from content approval or unpublish a major version
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to unpublish, e.g. /Shared Documents/filename.ext unpublishes 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
|
comment |
The comment for the published file |
|
File approve
<sharepoint-online:file-approve>
Approves a file submitted for content approval
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to approve, e.g. /Shared Documents/filename.ext approves 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
|
comment |
The comment for the approval |
|
File deny
<sharepoint-online:file-deny>
Denies approval for a file that was submitted for content approval
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to deny, e.g. /Shared Documents/filename.ext denies 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
|
comment |
The comment for the denial |
|
File copy to
<sharepoint-online:file-copy-to>
Copies the file to the destination URL
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to copy, e.g. /Shared Documents/filename.ext |
#[payload] |
|
|
newFileServerRelativeUrl |
(Mandatory) Destination Sharepoint Server relative URL of the file to unpublish, e.g. /Shared Documents/new filename.ext copies to 'new filename.ext' in 'Shared Documents' library |
x |
||
overwrite |
Specifies whether to overwrite a file with the same name in the same location |
false |
|
File recycle
<sharepoint-online:file-recycle>
Copies the file to the destination URL
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileServerRelativeUrl |
(Mandatory) Sharepoint Server relative URL of the file to recycle, e.g. /Shared Documents/filename.ext recycle 'filename.ext' in 'Shared Documents' library |
#[payload] |
|
File query
<sharepoint-online:file-query>
Retrieves all file from a folder that matches the specified criteria
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
query |
(Mandayory) OData query in the format listDocumentName?queryString, e.g Shared Documents?$select=Name&$filter Name eq 'filename' |
x |
||
startingFolderPath |
(Optional) The starting path of the folder from where to begin the query, relative to the document library selected as part of the query below, e.g. /myfolder/level2 search for files inside /document library/myfolder/level2. [Note: you must specify the document library as part of the query below] |
/ |
|
|
recursive |
Specifies whether to search recursively in inner folders |
false |
|
Resolve object
<sharepoint-online:resolve-object>
Executes an HTTP GET against the Sharepoint API (POST if body is blob).
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
url |
(Mandatory) The absolute or relative url to get. |
x |
||
resolveRequestType |
The request type to be sent. |
Get |
|
|
body |
Body of the request to send. 'null' if empty request body. |
#[payload] |
|
Resolve collection
<sharepoint-online:resolve-collection>
Executes an HTTP GET against the Sharepoint API.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
url |
(Mandatory) The absolute or relative url to get. |
x |