Skip to Main Content

Sharing APEX Content

The Share dynamic action lets you easily share data from your APEX app to other apps on the current device. When a user triggers the Share action, their device's native share sheet appears to let them pick contacts or other apps as the share destination.

Compatibility

This table shows the supported combinations of operating systems and browsers for the Web Share feature.

Chrome Edge Firefox Safari
Android Yes Yes Yes N/A
iOS Yes Yes Yes Yes
macOS No Yes No Yes
Windows Yes Yes No N/A

Last updated: April 2023

Note: Using the Web Share dynamic action on a browser that does not support Web Share API will result in the associated button being hidden on the page. APEX does this to avoid having a button that can't be actioned.

Edit Dynamic Action

Instructions

  1. In Page Designer create a new button
  2. Create a new Dynamic Action on the button's click event
  3. Change the Action to Share
  4. Use the property editor to configure whether to share the current page, URL or File(s)
  • The shared content can be static or reside in session state items

Meta tags

Meta tags are pieces of information about a web page that allows other systems to read a summary of the page content. Sharing APEX pages is more convenient when the content of that page can be previewed on other social media platforms. APEX allows to define meta tags for public-facing APEX pages directly from Page Designer.

Edit Meta Tag

Instructions

  1. In Page Designer check that your page is public (no authentication)
  2. In the page attributes, under Advanced turn on Enable Meta Tags
  3. A new section will appear in the Page Designer Rendering Tree
  4. Add your Meta Tag name and value pairs

Examples

Sharing an APEX page on Safari Desktop

Instructions

  1. Run application and tap on the button or the element that triggers the dynamic action
  2. A share sheet should appear
  3. Click on the application or contact you want to share the content with

Sharing an APEX page on iOS

Instructions

  1. On iOS, tap on the button or the element that triggers the dynamic action
  2. An iOS share sheet should appear
  3. Tap on the application or contact you want to share the content with

Demo