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, and as a best practice, consent should only be sought on a relevant user action.

For API information about this action, see Share in the Oracle Visual Builder Page Model Reference.

Note:

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

To use a Share action:

  1. Add the action in one of three ways, as explained at the end of Built-In Actions.
  2. Update the ID field in the Properties pane to make the action more identifiable.
  3. Configure the Title, Text, and URL. All properties are individually optional, but at least one property 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 the resource being shared.

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