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

NameTypeDescriptionRequired
sharepointsitexxxxxxxxxxxx
sharepointusernamexxxxxxxxxxxx
sharepointuserpasswordxxxxxxxxxxxx
issharepointonlinexxxxxxxxxxxx
replaceexistingfilexxxxxxxxxxxx
documentlibraryxxxxxxxxxxxx
filenamexxxxxxxxxxxx
documentdataxxxxxxxxxxxx
SharePointSetItemMetaDataxxxxxxxxxxxx

Notes: