Skip to main content
Skip table of contents

loadFromSharePoint

Downloads file from SharePoint.

Attributes

var

Required

Value type

EL-evaluated

Yes

File

Yes

Defines the name of the variable holding the downloaded file.

host

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the hostname of the SharePoint site e.g. “mycompany.sharepoint.com”.

site

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the name of the SharePoint site e.g. “MySite”.

fileName

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the name of the file that is to be downloaded. Only required if fileID is not defined.

fileID

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the ID of the SharePoint file to be downloaded. Takes precedence over folder and fileName. Only required if fileName is not defined.

folder

Required

Value type

EL-evaluated

No

String

Yes

Defines the name of the folder where the file is located. Only used if fileID is not defined.

pdf

Required

Value type

EL-evaluated

No

Boolean

Yes

Defines if the file should be downloaded in PDF format. Following file types can be converted: csv, doc, docx, odp, ods, odt, pot, potm, potx, pps, ppsx, ppsxm, ppt, pptm, pptx, rtf, xls, xlsx. PDF conversion will fail if name of the file doesn’t include supported file extension.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.