Download
Let users download a file directly from an Avonni component — from a direct URL or a Salesforce file (Content Document) — without leaving the page.
Overview
The Download Interaction allows users to retrieve files directly from Avonni components (like Data Tables or Lists) within an Experience Site. This streamlines the user journey by eliminating the need to navigate to or visit record pages or file libraries to access important documents.
Configuration
To enable file downloads within your Experience Site, follow these steps:
Add the Interaction
Open the component's interaction setting in the property panel — Experience Builder has no separate Interactions tab; the setting lives inside the editor for the event you're wiring up — and select Download as the interaction Type. In a Data Table, you can trigger this in two ways:
As a Row Action: Add the download command to the action menu (the dropdown at the end of a row). This is best for keeping the table clean.
As a Button Column: Create a dedicated column with a "Download" button or icon for every record. This is best for high visibility and quick access

Example
Imagine a Partner Portal where partners view a list of "Available Marketing Assets." By adding the Download interaction to a Data Table:
Partners see a "Download" icon next to each asset.
By enabling Auto Generate Public Link, the partner can instantly download the PDF or image, even if the file was originally uploaded to an internal-only library.
Important Considerations
Permissions: While Auto Generate Public Link helps with visibility, ensure your Experience Cloud profile has basic access to the objects being displayed.
Url Accuracy: If using the Url method, ensure the link is a "Direct Download" link rather than a preview page to ensure a smooth user experience
Last updated
Was this helpful?

