Share Action
The Share action opens the device's built-in share sheet, letting users share content from your app to any app on their device: text messages, email, social media, notes, and more.
Unlike an External Link (which opens a specific URL), the Share action lets the user choose where to send the content.
What You Can Share
You can share one piece of content at a time:
Text - a name, description, message, or any text value from your database
Image - a photo or image stored in your app
File - a PDF or other document stored in your app
Number - a price, score, or other numeric value
Date - a date value from your database
To share a URL, store it as a text property in your database and select that as the source.
How to Set It Up
Select the component you want to trigger the share (e.g., a button or icon).
Open Add Action.
Choose More..., then select Share.
In the Source field, pick the data you want to share. This dropdown shows all available properties from your screen's data: text fields, images, files, etc.
That's it. The Source field is the only setting. When a user taps the component, the share sheet opens with that content ready to send.
Example Use Case
Say you're building a recipe app. Each recipe has a name, a description, and a photo.
Add a share icon to your recipe detail screen.
Set the Share action's source to the recipe's description field.
When a user taps the icon, the share sheet opens and they can send the recipe description to a friend via text, email, AirDrop, or any other app on their device.
To share the recipe photo instead, just change the source to the image field. The share sheet will let the user send the image directly.
Notes
The share sheet is controlled by the device's operating system, not Adalo. The options a user sees depend on what apps they have installed.
You can only share one source per Share action. To let users share both text and an image, use two separate Share actions on different buttons.
Supported image formats: PNG, JPG, and GIF. Supported file format: PDF.
On web, sharing uses the browser's built-in share feature. Some desktop browsers do not support this and will show an alert.
Last updated
Was this helpful?