Pular para o conteúdo

Component Setup

Este conteúdo não está disponível em sua língua ainda.

  1. Open any record page in Lightning App Builder.
  2. Find Smarter Files in the component palette.
  3. Drag it onto the desired region of the page layout.
  4. Save and activate the page.

App Builder configuration panel

The following properties are available in the Lightning App Builder sidebar:

PropertyDescriptionDefault
Card TitleComponent header textFiles
Storage ModeStandard — files linked via ContentDocumentLink (visible in Files related list). Isolated — files linked via junction record only (hidden from Files related list, enables visibility controls).Standard
Display ModeHow files are displayed: List (vertical rows) or Tiles (grid of cards)List
Default Sort OrderInitial sort order for the file list. Users can change at runtime. Options: date-newest, date-oldest, size-largest, size-smallest, name-az, name-zadate-newest
Initial Files DisplayedMaximum number of files shown initially. Set to 0 to show all files. A “Show All” link appears when there are more files.5
Allowed File ExtensionsComma-separated whitelist of extensions (e.g., pdf,docx,png). Only these types can be uploaded. Leave empty to allow all types.All types
Excluded File ExtensionsComma-separated blacklist of extensions (e.g., exe,bat,sh). These types are blocked from upload.None
Max File Size (MB)Maximum file size for uploads in megabytes. Set to 0 for no limit.0 (no limit)

When both Allowed and Excluded file extensions are configured, they work together:

  1. Allowed list is checked first — if a file’s extension is not on the allowed list, it is blocked.
  2. Excluded list is checked second — if the file passed the allowed check but its extension is on the excluded list, it is still blocked.

In other words, a file must be on the allowed list and not on the excluded list to be accepted.

  • Works in the main content area, sidebar, or full-width regions.
  • Can be placed on any standard or custom object record page.
  • Multiple instances on the same page are supported (e.g., different configurations per tab).