Skip to content
MyAppBuilder
StableCustomer portalVersion 1Business component

Files

Overview

Files you have shared with a customer, shown as cards with the file name, project and a link to open it.

Files shared with the customer.

When to use

  • Share invoices, reports or drawings with a client.
  • Give customers their certificates or warranty documents.
  • A Documents page in the portal.

Quick start

  1. Drag Files (portal) onto a page that requires sign-in.
  2. Upload files with Project Files (or Data → Files → Records) and set Customer Email to the customer's email.
  3. Preview as the customer: only their files appear, three per row.

Reads the Files entity (created or reused): Name, File, Customer Email and Project. The customer read rule on Customer Email is added on first drop.

  • Files — fields: Name, File, Customer Email, Project.
Note: When you add this block, any missing entities are created for you and existing ones with the same name are reused. You can rename fields or point the block at another entity afterwards.

Layout rules

  • Can contain any component.
  • Can be placed in any container (page, section, card, row, column, grid…).

Properties

Titletext

Heading above the cards.

Default: Files

Example: Your documents

Entityentity

Entity to read files from. Defaults to Files.

Data binding

Cards bound to Files filtered to Customer Email = the signed-in user's email: title = Name, subtitle = Project, details = File (shown as a link).

Events

This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:

On click
None on the block; the inner Cards component fires onClick with the clicked file.

Responsive behavior

Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.

Permissions

Adds a record-level rule for the Customer role: read files where Customer Email equals their email. Customers cannot upload here; add a Form with a create rule if you want that.

Common patterns

  • Add the Customer Email input to the staff upload form so files reach the right customer.

Limitations

  • Files without a Customer Email are invisible to every customer.

Troubleshooting

The customer sees no files.

Why: Customer Email is empty on the file records (the Project Files upload form does not include it by default).

Fix: Edit the records or add the Customer Email input to the upload form.

Related

Was this helpful?