Skip to main content
Skip table of contents

AddFile

Tag: AddFile

The AddFile function automates the process of adding OneDrive/sites/channels Files.


XML
<AddFile FilePath="F:\XML\SHARK-2228\sapio365 - Groups- Updates.skip.xlsx" IfFileExists="Rename" KeepAlive=""/>

Tag Attributes

AttributesAttributes ValueValue Description
KeepAliveTRUE / FALSEN/A
FilePathN/AUpload target folder path / defaults to Documents
IfFileExsistsRename, ReplaceRename, Replace

Upload Script

Example Script

XML
<SelectedShowDriveItemsGroups>
	<Select Lines="All"/>
	<AddFile FilePath="F:\XML\SHARK-2228\sapio365 - Groups- Updates.skip.xlsx" IfFileExists="Rename" KeepAlive=""/>
</SelectedShowDriveItemsGroups>
JavaScript errors detected

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

If this problem persists, please contact our support.