Ecac Office Document Only 1 Page Upload
UiPath.MicrosoftOffice365.Activities.Files.UploadFile
Uses the Microsoft Graph Resumable upload API to upload a local file to your OneDrive or SharePoint business relationship.
Backdrop
Common
- DisplayName - The display name of the activeness.
Input
- Disharmonize Behavior - Indicates the conflict resolution beliefs in case a file with the aforementioned proper noun already exists. Select one of three options: Replace, Neglect, Rename. The default value is Supervene upon.
- Destination folder - The parent binder to which the file is uploaded equally a DriveItem. This object can be retrieved using the Find Files And Folders activity. If left empty, the user'due south root folder is used. This field supports simply
DriveItemvariables. Utilise the output property variable from the Detect Files and Folders (Outset or Results). If you're using the Results output holding from the Find Files and Folders activity, specify the particular in the assortment that you want to use (e.g., myFiles(0)). - File to upload - The path to a local file to upload.
- Metadata - The metadata to associate with the resulted DriveItem (it works simply for a DriveItem stored in a SharePoint Document Library). It should contain ii columns, the get-go one representing the display proper name of the field (String) and the 2nd its value (Object). This field supports only
DataTablevariables. - New name (optional) - A new proper noun for the uploaded file. To apply the existing file name, leave this property empty.
Notation:
You must use the brandish proper name of the Document Library column in the
DataTableobject passed to theMetadata parameter.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Reference as- The uploaded file equally a
DriveItem. Required if y'all programme to utilise the output information in subsequent activities. Enter aDriveItemvariable that is different than the one used in the Destination property.
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the action dependencies and input/output backdrop) to run time.
- Complete the Setup steps.
- Add the Microsoft Office 365 Scope activeness to your project.
- Add together an activeness or run an external process that outputs a
DriveItemobject (east.k., Discover Files And Folders). - Add the Upload Item activity within the Microsoft Part 365 Scope activeness.
- Enter values for the Input properties.
- Create and enter a
DriveItemvariable for your Output property. - Run the activity.
- Your input property values are sent to the Upload API.
- The API returns the
DriveItemvalue to your output property variable.
UiPath.MicrosoftOffice365.Activities.Files.UploadFile
Description
Uploads a local file to your OneDrive or SharePoint business relationship.
Configuring the Activity
In the Torso of the Action
- File to upload- The file to be uploaded. Click Browse
side by side to the field, and then browse to and select the file. Alternatively, click Plus
on the correct side of the field and then, from the menu, choose one of the available options to betoken a local path where the file is located: - Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file and so select a jail cell that contains a file path, or betoken a field from a selected email in Outlook that contains a file path.
- Use Saved Value - Select a value in the course of a file path that you previously saved for later use in the projection.
- Text - Enter a file path in the Text Architect.
- Paste from clipboard - Paste a value in the class of a file path that y'all previously copied to the clipboard in the projection.
- Inquire when run - Prompt for a file path when the project is executed.
- Open up in Advanced Editor - Enter a VB expression.
- Destination binder - The folder where to upload the filer. If left blank, the file is uploaded in the OneDrive root folder. Click Plus
on the right side of the field so, from the carte du jour, select Use Saved Value to select a file or folder that you previously saved for later use in the project. Alternatively, selectOpen up in Advanced Editor to enter a VB expression. - New proper name (optional)- The new name of the file or folder subsequently information technology is uploaded. Click Plus
on the right side of the field and then, from the menu, choose 1 of the available options to indicate the proper noun of the file to be uploaded: - Information from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file and then select a prison cell that contains a name, or indicate a field from a selected e-mail in Outlook that contains a name.
- Use Saved Value - Select a value in the form of a name that yous previously saved for later use in the projection.
- Text - Enter a name in the Text Builder.
- Paste from clipboard - Paste a value in the form of a proper name that you lot previously copied to the clipboard in the project.
- Ask when run - Prompt for a name when the projection is executed.
- Open in Advanced Editor - Enter a VB expression.
- Conflict beliefs - Indicates the disharmonize resolution behavior in case a file with the same proper name already exists. Select one of three options: Supersede, Fail, Rename. The default value is Supersede.
- Reference as - The name used to refer to the uploaded file in other activities. Click Plus
on the correct side of the field and select Save for After Useto relieve the file for later utilize in the automation. Alternatively, select Use Saved Value to select a file proper noun that you previously saved for later on use in the project or selectOpen in Advanced Editor to enter a VB expression.
Notation:
You lot can save files or folders for afterward utilize in the automation using the Get File/Folder activity.
In the Properties Console
Mutual
- DisplayName - The display name of the activity in the Designer panel.
Input
- Metadata - The metadata to associate with the uploaded file (it works only for a file stored in a SharePoint Document Library). It should contain 2 columns, the starting time ane representing the brandish proper name of the field (String) and the 2nd its value. This field only supports
DataTablevalues. - See the rest of the options in the trunk of the activity.
Misc
- Individual - If selected, the information used in the activeness is not logged by StudioX.
Output
- See the options in the trunk of the action.
Updated 5 months ago
ralstonjactione73.blogspot.com
Source: https://docs.uipath.com/activities/docs/office365-upload-file
0 Response to "Ecac Office Document Only 1 Page Upload"
Post a Comment