Skip to main content
Skip table of contents

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.

image-20240913-140104.png
image-20240913-140142.png

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.

  1. Go to Setup

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

connected apps.png
  1. 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

image-20240913-142042.png
  1. Go to App Manager again and click the drop down button to View clientId and Secret of the app created.

connected apps2.png
  1. Click Manage Consumer Details button to view clientId and Secret

image-20241231-063707.png

 

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

image-20240913-150456.png

 

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

image-20241231-063738.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.