arrow-down-to-lineDownload

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.


How to Configure

To enable file downloads within your Experience Site, follow these steps:

1

Prepare Your Component

Add an Avonni Data Table or List to your Experience Cloud page and map it to the records you wish to display. Ensure your data source includes the Content Document ID or a File URL

2

Add the Interaction

Navigate to the Interactions tab in your component settings 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

3

Define the Source

  • URL: Use this to reference a specific external link or a custom URL field.

  • Content Document ID: Use this to reference Salesforce files directly.

Note: If both are provided, the URL attribute takes precedence.

4

Enable Public Access (Crucial)

When using the Content Document ID, you will see a toggle for Auto-Generate Public Link.

  • Always enable this for Experience Sites if you want external users (customers or partners) to download files without encountering permission roadblocks.


Example Use Case: Partner Portal

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 the "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?