S-Drive Connector v1.0
1. General Information
SDrive is a Salesforce-native application that provides enhanced file storage, sharing, and management capabilities. It is designed to overcome Salesforce's native file storage limitations by allowing users to store files in external storage locations like Amazon S3, Google Drive, or SharePoint, while still managing and accessing them directly within Salesforce.


2. Authentication
a. Creating Connected App
A Connected App in Salesforce is a framework that allows external applications to integrate with Salesforce securely. It facilitates communication between Salesforce and third-party applications by providing a way to authenticate, authorize, and interact with Salesforce data and services.
Go to Setup

In search box on left side search for App Manager and click button New Connected App on the right corner.

Enter relevant details. Tick mark Enable OAuth Settings button in API (Enable OAuth Settings) to add Callback urls and Scopes.
Note : Do not forget to mark
Enable Client Credentials Flow | |
---|---|
1 | Enable Authorization Code and Credentials Flow |

Go to App Manager again and click the drop down button to View clientId and Secret of the app created.

Click Manage Consumer Details button to view clientId and Secret

3. Connector Actions and Tests
1. Misc: GET Files (GET)
Action Name / Method | Misc: GET Files (GET) |
---|---|
Action Description | This action is used to retrieve all files for an SObject.
|
Test Case | This action is used to retrieve all files for an SObject.
|
Request Body Name | Paramenter |

4. Connection Settings and Configuration
Settings Parameters | Value | Description | Required (Y/N) | Default Value |
---|---|---|---|---|
Connector | S-Drive | Connector Name | Y | S-Drive |
Host Name | Endpoint required for performing CRUD | Y | ||
Authentication | OAuth2 | Type of authentication | Y |
|
Client Id | {client_id} |
| Y |
|
Client Secret | {client_secret} |
| Y |
|
Token URL |
| Y | ||
Authorization Url |
| Y | ||
Scopes | none |
|
| none |
