Skip to main content

Cloud File

This node represents a file stored in the cloud.

The Cloud File node provides access to file metadata like URL and Name.

The Cloud File node is a utility for working with file objects returned from the database (e.g., from an "Image" or "File" column). It extracts the public URL and the filename so you can display them or use them in logic.

Inputs

General

DataDescription
Cloud FileThe file object to inspect. Usually comes from a Record node output (e.g., Profile.Avatar).

Outputs

General

DataDescription
URLThe full public URL of the file. Connect this to an Image node source.
NameThe original filename (e.g., "photo.jpg").

Usage

Displaying a Profile Picture

  1. Fetch a User Record.
  2. Connect the Avatar output (which is a Cloud File object) to the Cloud File input of this node.
  3. Connect the URL output to an Image node.

Detailed Behavior

  • Parsing: It handles internal XFORGE file objects, stripping internal prefixes (like GUIDs) from the filename for display.
  • Reactive: Updates immediately if the input file object changes.

Troubleshooting

  • No URL: If the input is null, the URL will be undefined. Ensure the record actually has a file uploaded.