MobileDeepLinkGenerator - Global

  • Release version: Xanadu
  • Updated August 1, 2024
  • 2 minutes to read
  • The MobileDeepLinkGenerator script include provides methods to embed a link to a mobile app list or form applet.

    Use this script include in a global server-side script to create a link to a list or form applet within these apps:
    • Now Mobile
    • Mobile Agent
    • Mobile Onboarding
    Note:

    The Mobile Onboarding application is being deprecated!

    With the ServiceNow AI Platform Rome release in September 2021, we started phasing out support for the Mobile Onboarding application. Customers may no longer activate it, and we are not offering enhancements or non-critical bug fixes. Mobile onboarding features are available in the Now Mobile app for HR Service Delivery.

    For example, create a link from an email, push notification, or Virtual Agent conversation that opens a record or list of records in the app. The form or list only includes data that the user has access rights to view.

    For an example of this API used in a push notification, see Configure push notification message content. For additional information on deep links, see Deep linking for mobile.

    MobileDeepLinkGenerator - MobileDeepLinkGenerator(String clientType)

    Instantiates a MobileDeepLinkGenerator object for a specific mobile app.

    Table 1. Parameters
    Name Type Description
    clientType String Name of the app to create a link to.

    Options include:

    • agent: Creates a link to a list or screen in the Mobile Agent app.
    • request: Creates a link to a list or screen in the Now Mobile app.
    • onboarding: Creates a link to a list or screen in the Mobile Onboarding.
    Note:

    The Mobile Onboarding application is being deprecated!

    With the ServiceNow AI Platform Rome release in September 2021, we started phasing out support for the Mobile Onboarding application. Customers may no longer activate it, and we are not offering enhancements or non-critical bug fixes. Mobile onboarding features are available in the Now Mobile app for HR Service Delivery.

    var glide = new global.MobileDeepLinkGenerator('onboarding');