|
Property |
Required |
Type |
Description |
|
Source type |
yes |
Choice |
Select file source type from where you want to get the file:
|
|
File path |
yes |
String |
Specify the path to the file. It can be server
relative URL, full URL, expression evaluated URL or it can be output from
HTTP Request trigger action: [[@Actions.HTTP_Trigger.RequestFiles]][0].Path |
|
Base64 value |
yes |
String |
Specify Base64 value or expression evaluated as base64 value |
|
File content |
yes |
String |
Specify content for the file |
|
Target library |
yes |
Choice |
Specify a library where a file will be stored. It is possible to select the library from the current site. |
|
Folder |
no |
String |
Library relative URL. If you want to store file to a new folder you can specify it in this property. |
|
File name |
yes |
String |
If the file source is a File path: Specify a file name with an extension. If you don’t specify an extension, the action keeps the original file’s extension. If the file source is Base64 content: Specify a file name with an extension. Otherwise, the extension is detected from the Base64 data. If the file source is Content: Specify a file name with an extension (for example, .txt, .json, .xml, or other text-based formats). If no extension is provided, the .txt extension will be used. |
|
If already exist |
yes |
Choice |
If the file with the same name already exists you
have several option to specify: |
|
Modern Forms |
List Actions |
Scheduled/Triggered Actions |
|
- |
- |
✓ |
|
Output parameter |
Type |
Description |
|
ItemID |
Number |
Returns the Id of the added item as output parameter and can be used in subsequent actions. |
|
FileName |
String |
Returns the file name |
|
Url |
String |
Absolute URL to the created folder. Starts with 'https://' |
|
ServerRelativeUrl |
String |
Server relative path to the created folder. Starts with '/' |
|
LibraryRelativeUrl |
String |
Library relative path to the created folder. Starts with folder name |