Embed Links That Open a Web App or Another Mobile App

You can create embedded links in CX Sales Mobile that automatically open web apps, or another mobile app, when you tap the link. Here's how:

  1. Sign in to the Oracle CX Sales application as user with a Sales Administrator role.

  2. Select the sandbox you want use for your configurations.

  3. Open Application Composer by selecting Application Composer under the Configuration category in the Navigator menu.

  4. Expand the menu for a standard or custom object and then select Fields.

  5. Create a new custom field and select the Formula option.

  6. Enter the formula field details. Make sure that you select a Formula Type of Text and that Include in Service Payload is selected (this will make the field appear in the mobile interface designer, so that you can add it to a mobile page). Click Next.

  7. Select the relevant fields in the Depends On field.

  8. In the Edit Script area, create a Groovy script that will generate a dynamic web URL with a prefix of http:// or https://. If you're creating a Groovy script that will open a custom mobile application, you need to use a prefix of the app reference and then ://, for example oscm://. Click Submit.

  9. Navigate to the main Application Composer page and click Mobile Application Setup.

  10. Select the object that you created the Groovy script for, and click the Detail page layout.

  11. Add the formula field you have just created to the detail page and click Save.

    Note: The field is rendered in a different format depending on where it's placed on the page. For example, if it's placed in a page header or information section, the field label displays as a link. If you add the field to the two column or single column sections, it appears with a label and a URL value.
  12. Test your updates and publish the sandbox when you're happy with the configuration. See the Test Your Configurations topic for details about how to check your mobile configurations.