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
| Data | Description |
|---|---|
| Cloud File | The file object to inspect. Usually comes from a Record node output (e.g., Profile.Avatar). |
Outputs
General
| Data | Description |
|---|---|
| URL | The full public URL of the file. Connect this to an Image node source. |
| Name | The original filename (e.g., "photo.jpg"). |
Usage
Displaying a Profile Picture
- Fetch a User Record.
- Connect the
Avataroutput (which is a Cloud File object) to the Cloud File input of this node. - 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.