UI Elements in Salesforce

UI Elements in Salesforce

The Box for Salesforce managed package offers the following UI Elements as Lightning Components: content picker, explorer, preview, and uploader. You can use them on Lightning Pages, or in Flows.

Content picker

Options available in picker with Box for Salesforce are:

  • folderId - if the lightning component is on a record page, it defaults to the record folder
  • chooseButtonLabel
  • cancelButtonLabel
  • canSetShareAccess
  • canCreateNewFolder
  • canUpload
  • maxSelectable

Content explorer

Options available in explorer with Box for Salesforce are:

  • folderId - if the lightning component is on a record page, it defaults to the record folder
  • canSetShareAccess
  • canCreateNewFolder
  • canUpload
  • canPreview
  • canDownload
  • canDelete
  • canRename
  • canShare

Content preview

Options available in preview with Box for Salesforce are:

  • fileId (find your file ID)
  • File Id API Field Name - Salesforce specific; on a record page, you can use an API field name that holds the file ID to be displayed

Content uploader

Options available in uploader with Box for Salesforce are:

  • folderId - if the lightning component is on a record page, it defaults to the record folder
  • fileLimit