OneDrive Settings tab

This tab defines the general settings for OneDrive.

Option Description
Account This group allows you to configure connection to the OneDrive accounts which is used in the process.
Access mode Select one of the following options:
  • Delegation: The component can upload documents on behalf of a signed-in user which is selected in the Local user account.
  • Application: The component can access the drives of all users within the organization. Signed-in user is not needed, only an administrator consents on behalf of the organization.
Application (client) ID

The Application (client) ID of the registered application

This field is available for the Application access mode only.

See Configure Application access mode for more details.

Application (client) secret

The Application (client) secret of the registered application

This field is available for the Application access mode only.

See Configure Application access mode for more details.

Tenant ID

The Tenant ID of the registered application

This field is available for the Application access mode only.

See Configure Application access mode for more details.

User name

The OneDrive account ID to be used by the process. Usually, the OneDrive account ID is an email address of the OneDrive service.

This field is available for the Application access mode only.

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.

See the Configure Application access mode for more details.
Token Vault URL

Enter the fully qualified Token Vault URL with port number.

This field is available for the Delegation access mode only.

Provider ID

Enter the ID of that Authorization Provider, which was set up in Token Vault to work with this AutoStore component.

This field is available for the Delegation access mode only.

Local user account

In this text box, specify a domain user account that will be used by the workflow.

The accepted format is UPN (User Principal Name) – testuser@test.domain.corp

Make sure that the account specified in this text box has completed the authorization and consent process through Token Vault. Otherwise, the component will fail to process files through this account.

You may use RRTs in this text box. When you use an RRT, make sure that it is replaced with a domain user account in UPN format; otherwise, the component will fail to process files and they will be rejected.

This field is available for the Delegation access mode only.

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.
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.
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.