AddFile: Upload a file

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

Attributes

Attributes Value

Value Description

KeepAlive

TRUE / FALSE

N/A

FilePath

N/A

Upload target folder path / defaults to Documents

IfFileExsists

Rename, Replace

Rename, Replace

Upload Script

image2023-8-15_12-15-25.png image2023-8-15_12-16-0.png

Example Script

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