Step Details |
Introduced in Version | 4.0.0 |
Last Modified in Version | 9.12.0 |
Location | Integration > MS OneDrive |
The Create Sharing Link step allows a user to create a link to share something in MS OneDrive.
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
Property | Description | Data Type |
---|
Token | Establishes a connection to MS OneDrive. | String |
Inputs
Property | Description | Data Type |
---|
File Or Folder Id | ID of the file or folder to create a link for. | String |
Scope of Link | Defines the scope of link to either anonymous or organization. | OneDriveShareScope |
Type of Link | Defines the type of link that user will interact with (View, Edit, Embed). | OneDriveShareType |
Outputs
Property | Description | Data Type |
---|
Error Info | Returns information on why an error was returned. | OneDriveErrorInfo |
Result | Returns completed resulting information. | OneDrivePermission |
.png)
Example Inputs and Outputs
File or Folder Id | Scope of Link | Type of Link | Result |
---|
b!Eqwertyuiopasdfghjklzxcvbnm-7mnbvcxzlkjhgfdsapoiuytrewqk | Anonymous | Edit | https://1drv.ms/f/s!ApJ-X_yK-o7Eio_jP3rB_5sW_c2C |
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)