Skip to main content
Skip table of contents

Functionality of the Lightning component

The Lightning component can be modified on object record level.


24Files allows you to customize the name of the component as shown to the user.

Parent Record

It is possible to show files from the parent object. In this field you will have to fill in the ‘Field Name’ of that parent object. 
Example: On the contact page, you want to see all files related to the company of that contact (= Account). All files & folders of the Account will be shown and you will be able to perform all folder & file actions. The bi-directional sync will work here. 

In this particular case, the Field Name of the parent record (Account Name) of is ‘AccountId’.

Setup > Edit Page > Click on the 24Files component. The right hand side menu contextualizes, and here the ‘Parent Record’ field needs to be filled in.

Access: Authenticated & Anonymous


Any files/folder action by a Salesforce user, will be tracked and assigned to that user. For Authenticated Access, a user needs to login to SharePoint via the 24Files component.

Authenticated Access implies that a user is able to:

  • Upload, download, delete, rename, move, create public link, quick preview, and preview and edit files. 

  • Create, rename, delete and move folders.

The file size supported by 24Files is limited only by the APIs of SharePoint. Currently, this allows you to upload files up to a size of 2 GB.

Quick Preview opens the file in a widget in Salesforce for those file types supported by Salesforce. Preview is a SharePoint feature, it opens the documentation in a separate tab in SharePoint.

This user will be able to view the SharePoint folders and documents (according to their permissions) within the 24Files component. 

  • Create Public Link means that you get a URL where anyone (you do not need a SharePoint nor a Salesforce account) can download a file. You can set the expiration date for the links on the 24Files Settings page within the 24Files Manager app.

  • Preview opens the file in a separate tab in SharePoint preview mode.

  • Edit opens the file in a separate tab in SharePoint edit mode.

Note that the user that is configured as Anonymous Access User on the 24Files Settings page cannot log out of a 24Files component configured in Authenticated Access, as this would break the Anonymous Access feature. So in case you need to log out, you first need to configure another user as Anonymous Access User, before logging out in the 24Files component.

It is possible to upload files without having SharePoint credentials, when the 24Files component is configured for Anonymous Access.  With Anonymous Access, 24Files users share the Anonymous Access user login that is configured on the 24Files settings page, hence it is a kind of impersonated access.

Users with Anonymous Access will be able to:

  • Upload, download and preview the files within a Public folder for the Salesforce records they have access to and for which the 24Files component is visible.

  • In addition, you can configure the Page Layout such that users with Anonymous Access are also able to delete, rename and move files.  

Users with Anonymous Access will NOT be able to:

  • Navigate outside of this Public folder.

  • ‘Open SharePoint’.

  • Open files in SharePoint in preview or edit mode.

  • Login into SharePoint via the 24Files component.

Anonymous access is mostly used when you want to allow third parties to upload docs to your SharePoint when those third parties do not have a SharePoint account. In such cases, 24Files can be integrated in Experience Cloud (former Community Cloud) portal record pages and configured in Anonymous Access mode.

In case every user with Salesforce access also has a SharePoint account, it is recommended to always configure 24Files with Authenticated Access, as described above.

No license Error Text
If you have purchased a user-based license for 24Files, you can customize the error text that has to appear when a user has no license assigned. 

JavaScript errors detected

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

If this problem persists, please contact our support.