S-Drive for File Objects Component
S-Drive files are normally accessed from the S-Drive component on the parent record. However, S-Drive file information is stored in Salesforce records (Account File, Contact File, etc).
The S-Drive for File Objects Component can be added to the file object lightning page in order to see the file preview and find the file on the parent record.
To configure this component:
Edit the file record page. In the screenshot below, we use an Account File record page.
Drag the S-Drive for File Objects component onto the page.
Click on the component to show the configuration on the right panel
Fill in the fields as show. If this is a custom file object, there will be no namespace prefix and the Relationship Field Name will be Parent__r.
![](../__attachments/2134609078/image-20220825-173525.png?inst-v=45374f53-f4b0-4a30-83dc-edc14e9d1f8c)
You can also locate the file in S-Drive by clicking the Open in S-Drive button. This will take you to the details of the file on the parent record where it resides.
![](../__attachments/2134609078/image-20220825-173717.png?inst-v=45374f53-f4b0-4a30-83dc-edc14e9d1f8c)
Clicking Open in S-Drive will take you to the file detail on the record where the file resides.
![](../__attachments/2134609078/image-20220825-175931.png?inst-v=45374f53-f4b0-4a30-83dc-edc14e9d1f8c)