Mobile deep link structure

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Mobile Deep Link Structure Considerations Before Implementation

    This guide provides essential information on constructing and utilizing mobile deep links within ServiceNow mobile applications. Mobile deep links consist of three primary components: a variable name, a reference to a mobile app, and a public method for generating the link.

    Show full answer Show less

    Key Features

    • Variable Name: Choose a descriptive name for easy identification in future references.
    • Mobile App Call: Specify the target mobile app, either 'Request' for the Now Mobile app or 'Agent' for the Mobile Agent app.
    • Public Methods: Use various public methods to create deep links, each suited for specific screen types. Key methods include:
      • getButtonLink: Links to input form screens using button ID and optional table name and record ID.
      • getFormScreenLink: Links to non-parameterized form screens with required parameters.
      • getLauncherScreenLink: Links to launcher screens using the screen ID.
      • getPrefillLink: Pre-fills login details for first-time users; requires a boolean for local login.
      • getScreenLink: Links to list screens and can accept UI parameters.
      • getSSOPrefillLink: Generates links for single sign-on, requires activation of the Multi-Provider SSO plugin.
      • getUniversalLink: Creates a link to any resource based on the provided URL.

    Key Outcomes

    By implementing mobile deep links appropriately, ServiceNow customers can enhance user navigation within mobile applications, streamline access to specific screens, and improve the overall user experience. Understanding the structure and methods allows for effective integration of deep linking capabilities, catering to both first-time and returning users while supporting various authentication methods.

    Familiarize yourself with how to construct and use mobile deep links in any screen type within a mobile app.