Add a Share Action

You add a Share action to share content with other applications, such as Facebook, Twitter, Slack, and SMS, by invoking the native sharing capabilities of the host platform. This action requires the user's consent. As a best practice, it should only be fired on a user gesture, such as a button click.

Note:

Web apps require the web browser running the app to support the Share action. Currently, not all browsers support this native feature.

To add a Share action to an action chain:

  1. Open the Actions editor, for example, at the page level.
  2. Create an action chain, or open an existing action chain to add the action in the editor.
  3. Drag Share from the Actions palette into the action chain.

    You can drag the action onto the Add icon ( Add icon ) in the action chain, or between existing actions in the chain.

  4. Update the ID field in the Properties pane to make the action more easily identifiable.
  5. Configure the Title, Text, and URL. All parameters are individually optional, but at least one parameter must be specified. Any URL can be shared, not just those under the website's current scope. Text can be shared with or without a URL.
    1. In the Title field, enter the title of the document to be shared.
    2. In the Text field, enter the text that will form the body of the message being shared.
    3. In the URL field, enter the URL that refers to a resource being shared.

    Here's an example that shares the current page's title and URL:
    Description of share-action.png follows
    Description of the illustration share-action.png