This is a tutorial on how to customize your folder paths in the Egnyte for Salesforce integration. The feature allows you complete control in how to setup the folder structure in the Salesforce integration. We will walk through a common configuration of setting an Account with a custom path.

Default Folder Path

The option to choose your Default folder path is located under Egnyte Sync Configuration for each specific object.

Screen_Shot_2018-12-27_at_11.02.33_AM.png

Is Default Folder Path is normally checked and is the recommended action. The default path is under

/Shared/Salesforce.com/<Object Name>/<2 Letter Hash of Record Name>

Example of an Account name ACME Company would place the path as

/Shared/Salesforce.com/Account/AC

The 2 letter hash is created for performance purposes as Egnyte has a 50,000 subfolder limitation. Please take this to account if you are creating your own Custom Path with lots of Salesforce objects.

Customization Steps

1. Add a New Field to the Custom Object (in this example we will add to the Account Object)

Screen_Shot_2018-12-27_at_11.03.32_AM.png

2. Create a new custom field with Data Type Text

Screen_Shot_2018-12-27_at_11.03.49_AM.png

3. The new field Type, should have a length 255, discuss with Salesforce Administrator about creating a Formula for Custom Field.

Example Sample Custom Paths:

  • In some scenarios clients would want to just move the Folder from Salesforce.com to your own specific folder for example: /Shared/ACME/Accounts/<Account Record Name>
    • The /Shared/ folder is already included in the creation of the folder you will only need to provide the path afterwards
    • You would then want to hardcode your value in the string to ACME/Accounts
    • <Account Record Name> This is name of the folder and is controlled by the Custom Folder Name variable and does not need to be put in this string 
  • In another scenario you might want your Custom Path to be based on another variable, for example: /Shared/Accounts/<Account State>/<Account Name>
    • The /Shared/ folder is already included in the creation of the folder you will only need to provide the path afterwards
    • You would then want to hardcode your value in the string to Accounts
    • <Account State> - This would be added to string using a formula that will grab the State for each account and concatenated to the Accounts word
    • <Account Record Name> - This is name of the folder and is controlled by the Custom Folder Name variable and does not need to be put in this string 

Screen_Shot_2018-12-27_at_11.04.42_AM.png

4. Go to Egnyte Sync Configurations to access the Account configuration object.

Screen_Shot_2019-01-02_at_3.00.03_PM.png

5. On the Account Object choose the newly created Custom Field and Save

Screen_Shot_2018-12-27_at_11.05.35_AM.png