> For the complete documentation index, see [llms.txt](https://docs.renderdraw.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.renderdraw.us/api-documentation/3d-components-api/components-aura-lwc/3d-file-attachment-viewer-aura.md).

# 3D File Attachment Viewer (Aura)

### Description

Salesforce doesn't have a file preview for 3D filetypes like GLTF, GLB, STL and OBJ. The FileSelector component allows for users to upload and view 3D files and associate them to a given record object.

### When to use the FileSelector

Any time you want to display and allow users to view 3D files on a Salesforce Record.

### Attributes

| **NAME**       | **TYPE** | **REQUIRED** | **DEFAULT** | **DESCRIPTION**                                                               |
| -------------- | -------- | ------------ | ----------- | ----------------------------------------------------------------------------- |
| recordId       | string   | false        |             | Id of the Salesforce Record in which you fetch the associated rendering files |
| showFileUpload | boolean  | false        | TRUE        | Id of the Salesforce Record in which you fetch the associated rendering files |
