new SharePointClient(settings, authenticationopt)
Creates a new client that authenticates as a user
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
settings | object | ||
authentication | string | <optional> | User authentication |
- Version
- Experimental feature, might be removed at any time
Methods
getColumns(libraryID)
Parameters:
Name | Type | Description |
---|---|---|
libraryID | string |
- Version
- Experimental feature, might be removed at any time
getFile(fileRef)
Parameters:
Name | Type | Description |
---|---|---|
fileRef | string |
- Version
- Experimental feature, might be removed at any time
getFileRef(documentId, libraryGuid)
Parameters:
Name | Type | Description |
---|---|---|
documentId | string | |
libraryGuid | string |
- Version
- Experimental feature, might be removed at any time
getItem(documentId, libraryGuid)
Parameters:
Name | Type | Description |
---|---|---|
documentId | string | |
libraryGuid | string |
- Version
- Experimental feature, might be removed at any time
getItems(libraryGuid)
Parameters:
Name | Type | Description |
---|---|---|
libraryGuid | string |
- Version
- Experimental feature, might be removed at any time
getURL(url)
Parameters:
Name | Type | Description |
---|---|---|
url | string |
- Version
- Experimental feature, might be removed at any time
siteURL()
- Version
- Experimental feature, might be removed at any time
writeColumns(columnData, documentId, libraryGuid)
Parameters:
Name | Type | Description |
---|---|---|
columnData | object | |
documentId | string | |
libraryGuid | string |
- Version
- Experimental feature, might be removed at any time
writeTags(tags, column, documentId, libraryGuid)
Parameters:
Name | Type | Description |
---|---|---|
tags | object | |
column | string | |
documentId | string | |
libraryGuid | string |
- Version
- Experimental feature, might be removed at any time