OneDrive Settings tab

This tab defines the general settings for OneDrive.

Option Description
Web authorization callback

This group allows customers to configure the predefined callback URL on their own web servers, that would redirect to the actual AutoStore server in customer’s company intranet. For more details, see How to create a callback URL.

Client ID The Application ID from the registered app.
Client secret The Application Secrets from the registered app.
Redirect URI The Redirect URLs from the registered app.
Add authorization app Click Add authorization app. The https://apps.dev.microsoft.com/#/appList URL appears. For more details, see Add authorization app.
Account This group allows you to configure connection to the OneDrive accounts which is used in the process.
Active OneDrive ID In this text box, specify a OneDrive account ID to be used by the process. Usually, the OneDrive account ID is an email address of the OneDrive service.
Note: Make sure that the account specified in this text box is authenticated in the OneDrive service; otherwise, the component fails to process files for this account.
You may use RRTs in this text box. When you use an RRT, make sure that it is replaced with an authenticated OneDrive account ID; otherwise, the component fails to process files and files are rejected.
Manage Accounts Click this button to add, remove and configure OneDrive accounts.
OneDrive directory Enter the path to the directory within the OneDrive account into which the documents have to be routed. For example, MyFolder1/SubFolder1. If this text box is empty, then the root directory of the OneDrive account is used. You can enter the path manually or click the browse button (...) to open the Select Directory dialog box. This dialog box allows selection of the directory in the displayed tree. If the specified directory does not exist within the OneDrive account, it is created at run time.
Note: The OneDrive service allows creating and storing folders with the same names at the same folder level. In this case, the component stores files in the first found folder with the specified name on that level, even though the user selects another folder during configuring stage.
Overwrite existing file Select this check box to overwrite an existing file with the same name as the routed document. If this option is not selected, an error message is generated when a file with the same name as the routed document already exists in the destination folder.
Rename file Select this check box if you want to change the name of the routed document. In the box, enter the schema for renaming the document. If no rename schema is provided, the default rename schema is ~ODR::FileName~_~ODR::Counter~~ODR::FileExt~.
Create link Set this option to Yes to specify the availability of uploaded files for other users. When this option is set to Yes, the Sharable Link RRT is created to access uploaded files. You can use one of the following alternatives:
  • Select Yes to activate the option.
  • Select No to deactivate the option. In this case the option does not perform any actions during file processing.
  • Enter a custom value or an RRT.
    • If the entered value is equal to FALSE, NO, OFF or 0 (case-insensitive), then all the settings in the configuration window become disabled, otherwise, the settings are enabled.
    • If this value is evaluated as TRUE, YES, ON or 1 (case-insensitive) at run time, then the component takes part in the workflow.
    • If this value is evaluated as FALSE, NO, OFF, or 0 (case-insensitive) at run time, it does not perform any actions during file processing.
All other values at run time are regarded as FALSE.
Note: This option is only enabled for the OneDrive eConnector component.
Separator Enter the type of delimiter to be used between URLs.
Scope
  • Set this option to Anonymous: Creates a link to OneDrive that is accessible to anyone with the link. Anonymous links may be disabled by an administrator.
  • Set this option to Organization: Creates a link to OneDrive that is accessible to anyone within the user's organization. Organization link scope is not available for OneDrive personal.
  • Set this option to Specific Emails: Creates a link to OneDrive that is accessible to specific people who have the emails listed in Share with textbox.
Type
  • Set this option to View: Creates a read-only link to the OneDrive
  • Set this option to Edit: Creates a read-write link to the OneDrive
Share with Input emails to specify who can access the link of the uploaded files.
Timeout Specify the connection timeout in seconds. The default value is 100 seconds.