Associate a function with a location in the app
Summarize
Summary of Associate a function with a location in the app
In ServiceNow's mobile app development, each function you create must be associated with a specific location within the app interface. This association determines how and where users can access the function, enhancing navigation and interaction within the app. Locations include top menu, swipe gestures, fields, footers, and others, each suited for different user actions and screen types.
Show less
Function Locations and Their Uses
- Launcher Screen Header Functions: Enable navigation to parameterized record screens, such as user profiles or carts, accessible from the app’s launcher header.
- Chart Header Functions: Allow users viewing a chart to click on a header icon to see all records represented in that chart, facilitating deeper data exploration.
- Field Functions: Let end users modify field values directly on details screens. Each screen field can have a unique field function configured in the Mobile App Builder.
- Footer Functions: Add actionable buttons at the bottom of various screen types (record details, embedded sections, map, list screens) to streamline common tasks.
- On Tap Functions: Triggered when users tap a record in a list, typically navigating to another screen, configured within list item config records.
- Top Menu Functions: Ideal for less frequently used actions or when many actions exist on record screens; accessible from the top menu area.
- Quick Action Functions: Provide shortcuts accessible via icons on launcher screens (plus icon on Android, ellipsis on iOS) for fast access to key actions or items.
- Swipe Functions: Added to list or map screens, allowing users to swipe right (leading) or left (trailing) to reveal up to three functions per direction, enhancing gesture-based navigation.
- Top Icon Functions: A single shortcut button on the top app bar of a record screen, offering quick access to important actions.
- Custom Map Bottom Drawer Functions: Specific to custom map screens used in Indoor Wayfinding, allowing one or more actions accessible via a button or a “more” menu.
Practical Application for ServiceNow Customers
When building mobile apps with ServiceNow Mobile App Builder, associating functions to appropriate locations is crucial to optimize usability and user experience. Each location type supports different interaction models—from taps and swipes to menu selections—allowing you to tailor app navigation and actions to business needs. Understanding these associations lets you configure screens that are intuitive and efficient, ensuring users can quickly perform tasks or access information relevant to their roles.
ServiceNow customers can expect these function locations to:
- Enhance navigation by placing functions where users naturally look or interact.
- Support diverse user actions across multiple screen types (lists, charts, records, maps).
- Provide flexibility to add shortcuts and actions without cluttering the interface.
- Improve user productivity by enabling direct actions like field updates or quick navigation.
By following the configuration guidelines, including creating unique function instances per location and leveraging built-in UI elements, you can build a mobile app experience that aligns with user workflows and business processes.
For each function you create for an app, you must associate it with a specific location. You can associate most functions with a top menu, a swipe, or a specific field.
Launcher screen header functions
Launcher screen header functions allow your users to navigate to a specific parametrized record screen. Some common examples include navigating to a users profile, or navigating to a cart. For details on creating parametrized record screens, see Configure a parameterized record screen. For details on how to use these record screens in a launcher screen header, see Configure a launcher screen header. |
Chart header functions
Chart header functions enable your users to navigate to a specific set of records from a chart screen. When a user is viewing a chart, they can click on the chart header function ( |
Field functions
Field functions enable your end users to change the value of a field. Field functions only apply to items on the details screen in a displayed area.
For more information on how to create field functions, see Configure a details screen for a record screen. |
Footer functions
Footer functions enable your end users to add an action on the bottom of a record screen. Supported screens for the footer function are: record details screen, record embedded section screen, dynamic segments in a record screen, map screen, and list screens.
For more details on how to create a footer function, see Use your navigation function as a footer function. |
On tap functions
Use the on tap function instance to trigger a function when a user taps on a record in a list. This function location can, for example, navigate a user to another screen when they tap a record. On tap
functions are configured on list item config records, which are used in any screen that needs to display a list of records.
|
Top menu functions
Use top menu function location for less frequently used actions, and on record screens where you have more actions than fit conveniently in the footer.
For more details on how to create a top menu function, see Use your navigation function as a top menu selection. |
Quick action functions
Use the quick action item location to provide your users with a shortcut to an item or action in your launcher screens. Users access quick actions by tapping the quick action icon.
For details on configuring quick actions, see Quick actions. |
Swipe functions
The swipe function location applies to screens that display a list, including a map screen. Swipe functions can be initiated from two directions, swiping to the right initiates leading swipe function and
swiping to the left initiates trailing swipe functions. You can display three functions per direction.
For more details on how to create a standard function, see Configure a navigation to a screen. |
Top icon functions
|
The top icon function is a button location on the record screen top app bar. Use the top icon action to provide your users with an additional shortcut to an item or to actions in your record screen. Only one top icon function can be added to each record screen. |
|
Custom map bottom drawer functions
|
The custom map bottom drawer functions apply to the custom map screen for Indoor Wayfinding experiences. Use the custom map bottom drawer functions to provide your users with a shortcut to actions from Indoor Wayfinding experiences. One or more custom map bottom drawer functions can be added to a custom map screen. If only one custom map bottom drawer function is configured, users see the action button for the function with the configured icon and labels. If more than one function is configured, all the functions appear
under the
more
menu icon ( |
|