Views:

Description

Create a SharePoint File

Signature

SharePointCreateFile(
  'sharepointsite',
  'sharepointusername',
  'sharepointuserpassword', 
  'issharepointonline',
  'replaceexistingfile',
  'documentlibrary',
  'filename', 
  'documentdata', 
  SharePointSetItemMetaData('fieldname', 'fieldvalue')
)

Example

SharePointCreateFile(
  'https://north52.sharepoint.com/CRMSite/',
  'bill@north52.com',
  'password',
  true,
  true,
  'https://north52.sharepoint.com/CRMSite/CRMDocuments/',
  'Test.pdf',
  FindValue('annotation', 'objectid', [quote.quoteid], 'documentbody' ),
  SharePointSetItemMetaData('QuoteID', [quote.quotenumber])
)

Parameters

Name Type Description Required
sharepointsite xxxx xxxx xxxx
sharepointusername xxxx xxxx xxxx
sharepointuserpassword xxxx xxxx xxxx
issharepointonline xxxx xxxx xxxx
replaceexistingfile xxxx xxxx xxxx
documentlibrary xxxx xxxx xxxx
filename xxxx xxxx xxxx
documentdata xxxx xxxx xxxx
SharePointSetItemMetaData xxxx xxxx xxxx