Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Upload File

Prev Next
Step Details
Introduced in Version4.0.0
Last Modified in Version9.12.0
LocationIntegration > MS OneDrive

The Upload File step allows a user to upload a specified file from a local file path to a OneDrive folder.

Prerequisites 

  • This step requires the MS OneDrive module to be installed before it will be available in the toolbox. 
  • A dependency must be created after installing the module in order for the the steps to be properly used.

Properties

Settings

PropertyDescriptionData Type
TokenEstablishes a connection to MS OneDrive.                                                             String

Inputs

PropertyDescriptionData Type
Local File PathThe file storage location.String
Parent Folder IdID of the Folder the uploaded file will be under.                                                     String

Outputs

PropertyDescriptionData Type
Error InfoReturns information as to why an error occurred.OneDriveErrorInfo
ResultReturns completed result information.OneDriveFile


Common Errors

Could Not Find Token With Token Id

If the token that was used to access OneDrive is not present or expired, the step will cause an error.

To correct this, ensure the token used in this step is properly configured and active.

Exception Message:


DecisionsFramework.Data.ORMapper.EntityNotFoundException: Can not find token with TokenId="" at Decisions.MSOneDrive.AbstractStep.FindAccessToken(String id)
 at Decisions.MSOneDrive.AbstractStep.Run(StepStartData data)


Related Information

Related Articles:

MS OneDrive