Upload File
Use this action to upload a file to the OneDrive account.
With the Upload File action, you can upload files up to 4 MB only. For more information, see this link.
Using the Upload File Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Upload File action under the OneDrive connector to the canvas, place the pointer on the action, and then click or double-click the action. The Upload File action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a new authorization, refer to the Authorize OneDrive section in the OneDrive connector topic.
If you previously added an authorization for OneDrive, select an authorization from the list.
4. In the Source File Path field, enter the local file path including the file name to upload such as temp/example.txt.
5. In the Destination File Name field, enter the file name along with the extension (.txt) that you want to create in the destination folder.
6. Click + to view the additional fields:
In the Parent Folder ID field, select or specify the folder ID to upload the file in the parent folder. By default, the file is uploaded at the root level.
7. Click Done.