AddFile: Upload a file
Tag: AddFile
The AddFile function automates the process of adding OneDrive/sites/channels Files.
<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
Example Script
<SelectedShowDriveItemsGroups>
<Select Lines="All"/>
<AddFile FilePath="F:\XML\SHARK-2228\sapio365 - Groups- Updates.skip.xlsx" IfFileExists="Rename" KeepAlive=""/>
</SelectedShowDriveItemsGroups>