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