$k. SharePointAppClient

new SharePointAppClient(settings, authenticationopt)

Creates a new client that authenticates as an app

Parameters:
NameTypeAttributesDescription
settingsobject
authenticationstring<optional>

App authentication (ID + secret)

Version
  • Experimental feature, might be removed at any time

Extends

Methods

getColumns(libraryID)

Parameters:
NameTypeDescription
libraryIDstring
Version
  • Experimental feature, might be removed at any time

getFile(fileRef)

Parameters:
NameTypeDescription
fileRefstring
Version
  • Experimental feature, might be removed at any time

getFileRef(documentId, libraryGuid)

Parameters:
NameTypeDescription
documentIdstring
libraryGuidstring
Version
  • Experimental feature, might be removed at any time

getItem(documentId, libraryGuid)

Parameters:
NameTypeDescription
documentIdstring
libraryGuidstring
Version
  • Experimental feature, might be removed at any time

getItems(libraryGuid)

Parameters:
NameTypeDescription
libraryGuidstring
Version
  • Experimental feature, might be removed at any time

getURL(url)

Parameters:
NameTypeDescription
urlstring
Version
  • Experimental feature, might be removed at any time

siteURL()

Version
  • Experimental feature, might be removed at any time

writeColumns(columnData, documentId, libraryGuid)

Parameters:
NameTypeDescription
columnDataobject
documentIdstring
libraryGuidstring
Version
  • Experimental feature, might be removed at any time

writeTags(tags, column, documentId, libraryGuid)

Parameters:
NameTypeDescription
tagsobject
columnstring
documentIdstring
libraryGuidstring
Version
  • Experimental feature, might be removed at any time