CRM, data, and object reference

Files

Upload, organize, and attach files to any CRM record — with folder organization, inline previews, and a workspace-wide library for shared assets.

Overview

The file system in Kraftter has two layers: the Files Drive (a record page component that shows the files attached to a specific record, organized in folders) and the workspace-wide Files () view in the main navigation, which shows all discoverable files across the workspace.

File assets

Every uploaded file is a File Asset with:

  • Name — the filename shown in the UI.
  • Content Type — MIME type (e.g., application/pdf, image/png).
  • Byte Count — file size in bytes.
  • Status: pending upload (registered but not yet uploaded), upload failed, active (fully uploaded and available), deleted (soft-deleted).
  • Owner — the user who uploaded the file.
  • Is Discoverable — whether the file appears in the workspace Files view.
  • Current Version — pointer to the active version (see Versioning below).

Files Drive record page component

The Files Drive is a record page component you add to a record page layout via the Record Page Builder. Go to Setup () → Objects, open the object, and select its record pages area to enter the builder and add the component.

The Files Drive shows a two-panel layout: a folder tree on the left and the contents of the selected folder on the right. Each record automatically gets a primary folder the first time the Files Drive loads for that record (or when a Default Folders rule gives it its folders, see below). A new record folder is named after the object and the record, for example Client-ACC4f2a9 (the object’s label and the first 8 characters of the record’s ID); record folders that already exist keep their names. Files are listed with their name, type, size, and last modified date.

Uploading files

Select a folder in the tree, then upload files by clicking Upload File from the folder's action menu (the ⋮ button next to the folder name) or by dragging and dropping files directly onto the content area or onto a folder in the tree. Multiple files can be uploaded at once.

Folder management

Folders can be nested up to 8 levels deep. From a folder's action menu you can:

  • Upload File — upload files into that folder.
  • Link File — link an existing file from the workspace library into this folder.
  • Rename Folder — rename the folder.
  • Add Sub-Folder — create a child folder (available up to the 8-level depth limit).
  • Delete Folder — delete the folder. If the folder contains files, you can choose to delete them with the folder or relocate them to another folder first.

Use Expand All / Collapse All in the folder tree header to expand or collapse the entire tree at once.

File actions

Each file row has an action menu (⋮) with:

  • Preview — opens an inline preview modal (see Previews below).
  • Download — downloads the file.
  • Unlink File — removes the file from this record's Files Drive only. The file stays in Kraftter and remains available wherever else it is linked.
  • Delete File — deletes the file everywhere. It is removed from all linked records and can be restored from Deleted Items.

Files can also be moved between folders by dragging a file row and dropping it onto a folder in the tree.

Linking files from the library

Use Link File from a folder's action menu to search the workspace file library and link existing files into this record's Files Drive. Linking does not copy the file — the same file asset appears in all records where it is linked. Files already linked to the current record are excluded from the link picker.

Component configuration

The Files Drive component has one configuration option in the Record Page Builder: Title — the heading shown above the component. Defaults to "Files Drive".

Default Folders

In Setup () → Objects → File → Default Folders, add rules that give records a ready-made set of folders. Choose an Object at the top: each object has its own rules, and the list shows only that object’s. Click + New Rule to add a rule to it. Each rule has:

  • Conditions — which of those records get the folders, with the same condition builder as Record Auto-Sharing, plus the Is Changed operator: whether an edit changed the field (for example, add the Contract folders when Stage changes). A record gets them when it meets any one of the conditions; with no conditions, every record does.
  • Folders — the folders to make inside the record’s folder, nested as deep as folders can be (+ Subfolder adds a folder inside another).

An object’s rules are kept in order (move them with the arrows); for each record, the first of its object’s rules that it matches is used. When a record is created, it gets its folder and the rule’s folders right away. When an edit makes a record match a rule, the folders it is missing are added then. A folder that already has the name is used as it is, and nothing is ever renamed or deleted, also when a rule is changed or deleted. A rule applies only to records created after the rule was added; existing records are not changed.

Viewing the rules needs objects.read; adding, changing, reordering and deleting them needs objects.edit.

Workspace Files view

Files () in the main navigation is the workspace-wide library: every discoverable, active file you can open, with its name, type, size, status, and last modified date. Use Search Files to find one, upload files straight into the library, and click a file to open its detail page — its versions and the records it is linked to.

A file attached only to records you can't open is not listed. Files that aren't attached to any record are listed for everyone who can read files.

Versioning

Every file supports multiple versions. Each version is an independent upload with its own content — uploading a new version replaces what users see when they access the file, while preserving all previous versions in history. Version numbers are sequential integers starting at 1.

To upload a new version, open the file detail page and use Upload New Version. The previous version remains in the version history. Use Restore as Latest on any past version to make it the current one again.

The buttons beside the file's name on its page (Preview, Download, Upload New Version, Delete) stay on one line, in their order. When the window is too narrow for all of them, the ones that don't fit move, in the same order, into a ⋮ button at the end of the line. On a phone the buttons sit on their own line under the name.

If a version upload is interrupted, the unfinished version is discarded: the next version upload replaces it, and unfinished uploads are cleaned up automatically after 24 hours.

Previews

The following file types can be previewed inline without downloading: images (image/*) except SVG, video (video/*), audio (audio/*), PDF, and CSV. An SVG file can carry script, so it is never previewed: it offers Download only. CSV previews show up to 250 rows (500 when opened in a new tab with Open in New Tab).

Storage limits

Each workspace has a storage limit and a maximum size per file. An upload that would exceed either is refused before it starts.

Deleted files

Deleting a file soft-deletes it — the file moves to the Deleted Items view and is no longer accessible on records. Soft-deleted files can be restored from Deleted Items. Permanently deleting a file removes it from storage and cannot be undone.

A file something still uses can’t be deleted, nor a folder holding one, and Kraftter says what uses it. When you can take it out of there yourself (the logo of a form’s draft, a call team’s music or message, a phone menu’s greeting, a number’s call announcement, a user’s voicemail greeting or voicemail drop, or a Setup → Phone audio), the message asks you to remove it first. A file that is part of a record that must stay as it is (an email’s or a message’s attachment, a generated document, a signed document, a form submission’s consent record, a call recording, the logo of a published or unpublished form version, or of a form in Deleted Items) can’t be deleted while that record exists. Files nothing uses any more are removed from storage only after they are permanently deleted.

Deleting, restoring, or permanently deleting a folder acts on every file in it, so it is only allowed when you have access to every one of those files. Otherwise Kraftter explains that the folder contains files you don't have access to.

Permissions

Files are controlled by the File object's Object Access on the user's Permission (see Permissions):

  • Read — view, preview, and download files, and browse folders.
  • Create — upload files and create folders.
  • Edit — rename folders, move and link files, upload and restore versions, and restore deleted files and folders.
  • Delete — delete files and folders, and permanently delete them.

On top of that, a file attached to records follows those records: you can open it when you can open at least one of the records it is attached to, and change or delete it when you can edit one of them. Uploading files or creating folders on a record needs edit access to that record. Viewing deleted files in Deleted Items also needs deleted_items.read.

This guide is part of the Kraftter documentation V1. Visual walkthroughs and examples are coming in a future update.