How to install and setup SFT
Installation Steps
To install the apps, please click on the link below:
Production - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t6g000008KOg3
Sandbox - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t6g000008KOg3
Please go to Appexchange for the latest version or email at support@cloudmaveninc.com
How to provide permission
We need to provide permissions to the users who will be using the application so that the users have access to the object and fields of this application.
Go to Setup.
Find Permission sets in Quick Find Box as shown below:
3. Click on Cloud Maven Secure File Transport.
4. Click on Manage Assignment Button
5. Click on Add Assignments
6. Click on Assign and assign the permission set to the required users.
7. Save it.
How to provide licenses
Licences are provided so that the user can access our applications.
Go to Set up.
Find Installed Packages in Quick Box.
3. Click on Manage Licenses of the Application in which users are needed to given licenses and to remove license of an existing user.
4. Save it.
How to create SFT templates
SFT Templates are created to make sure that user doesn’t have to type the content of the emails/messages for requesting/ sending the documents repeatedly. The user can simply select the template he/she wants to use and send it.
Please follow the below metioned steps to make the templates.
Go to Secure File Transport Application
Go to Secure File Templates tab
3. Click on New
4. Select the Record type for which you want to made a template
5. Click Next
6. Enter Template Name according to your business requirement
7. Select the Object name on which the Secure File Transport application is configured (For Example : If the application is configured on Contact Object, you have to choose Contact for Object Name)
8. If you want to you use dynamic templates, you can select required fields. For Example, If you want to use Contact First Name, then you can select First Name and choose that field in SMS Message.
9. For selecting File Tags which you want, Click on Select File Tags
10. Select the File Tags and Click on Submit
11. You can enter SMS Message, Portal Message, Email Subject and Email Body as per business requirements.
12. Make the toggle switch to true, if you want to make this template default for sending File Requests.
13. Click Save
Post Installation Guide
Once the application is installed, please follow the below steps:
Data Transfer Settings:
Navigate to Setup -> Custom Settings -> Data Transfer Settings
Update the below fields as per Requirement
RequestByEmail
True if request to send/receive documents is made using Email
RequestByPhone
True if request to send/receive documents is made using SMS
TfaMethod
Method to receive the
Two-factor authentication Code.
Populate the Value with SMS or Email
TfaRequired
True if Two-factor Authentication is Required
ErrorBatchMessages
time,Unavailable,Bad,reset,Server,error,failed
NextScheduleBatchRunTime
Provide the time-frequency to run the batch.
For Example - If you want the batch to run in every 2 minutes, Populate the value field with 2.
ScheduleBatchRequired- True. Before scheduling the batch mark this custom setting as True.
File Request Field Mapping
This setting is used to auto-populate the File Request/Send form with the values from the Source Object. Make an entry in this setting to Map the Field of Source Object(Account, Contacts any Standard or Custom Object) with required parameters.
Click on the Gear Icon and go to setup.
Search for Custom Setting in Quick Find Box.
Click on Manage of “File Request Field Mappings”.
Create below Entries for both push/pull Request Type:
First Name
Last Name
Phone
Email
Click on New to Create New Entry for Pull Request.
7. Click on New to Create New Entry for Push Request.
Note: Similarly complete the entries for the above-mentioned fields.
Adding Component to Source Object Page Layout
This setting is done to so that File Request/ Send Files button is accessible on the Source Object’s page.
Go to your Source Object from Object Manager.
Go to Page Layout of your Source Object -> Mobile & Lightning Actions
Drag the already existing Request Files and Send Files button on the Object Layout.
Save the Record.
How to add Button
5. Add the Related List on the Page Layout.
Adding Lightning Component on Lightning Record Pages.
This is to ensure that the user can access media from the source object's page itself.
From Setup go to Object Manager.
Search for your Source Object From which business will run Secure File Transport.
Click on the Lightning Record Page Section
4. Select the Record Page.
5. Click Edit.
6. Search for displayMedialist Component in the Quick Find box.
7. Drag the Component to the Record Page.
8. Click Save.
Update Secure File templates
These template records are created one-time to auto-populate the File Request and Send Form. This would avoid writing the same content again and again. Also, this field can be updated on the Form itself if required.
Go to the Secure File Transfer Application.
Click on the Secure File Templates tab.
Create Records for ‘Media Request’ and ‘Send Media’.
Select ‘Media Request’
6. Click Next and Update the SMS/Email/Message Fields According to Business requirements.
7. Select the file tags according to business requirements.
8. Click Save.
9. Now again click on the New button to create Send Media Record.
10. Update the Secure File Templates.
11. Click Save.
12. Please Note the contents in the Images shown above are only for demo purpose please feel free to change the contents according to your requirements.
Scheduling the Batch
The batch is scheduled so that the data gets updated in the app.
From the gear, Icon click on Developer Console.
2. Click on Debug Drop down and then Open Execute Anonymous Window.
3. Paste the below Script in the window.
cm_Datatransfer__.BatchPullFileRequestStatus oBatchPullFileRequestStatus = new cm_Datatransfer__.BatchPullFileRequestStatus();
Database.executeBatch(oBatchPullFileRequestStatus,1);
4. Click Execute
Congratulations! You have successfully Installed Secure File Transport Application. For Information and troubleshooting please write to us at solutions@cloudmaveninc.com.