This action updates the contents of a file on OneDrive.
- 1. How to use
- 2. Links
How to use
Select the "OneDrive For Business" connector when adding steps to the flow.
Select "Update file" from the "Actions" menu.
Specify the ID of the file stored in OneDrive.
Select a file with the directory icon on the right.
When selected, it looks like a file path, but it is only a display and the substance is an ID.
If you delete the specified file and then create a file with the same name, it will be treated as a different file.
In such a case, an error will occur that the file does not exist, so it must be re-specified in the flow.
Set the ID of the following triggers/actions dynamic content.
Those that retrieve file contents at the same time are excluded.
- List files in folder
- Get file metadata using path
- Copy file using path
- Move/rename a file using path
- Upload file from URL
Specify the contents of the file to be updated.
The contents of the file can be specified as follows.
- Fixed text.
- Dynamic content of other actions and triggers.
For fixed text, specify without quotation marks.
In the example below, a text file with ABCD will be created.
Typical items used in subsequent steps are as follows
Metadata for the updated file is available.
Full path of the file.
Last modified time
Last modified by
Last updated by user name.
Bytes in file.
MINE type of file.
True if it is a folder; False if it is not a folder.