Create a navigation function
Create a navigation function that directs to a screen or launcher screen.
Before you begin
Role required: admin
Navigation functions enable you to define simple ways for end users to navigate within the mobile platform. For example, navigating to a record from a field on another record. Before you create a navigation function, you should have a source and a destination for your navigation.
About this task
In the following steps you create a navigation function to direct your users to an existing screen or launcher. You will need to have an existing screen or screen launcher to use as a destination for this function. For detail on creating screen launchers, see Launcher screens.
Procedure
Navigate to All > System Mobile > Mobile App Builder.
The Mobile App Builder opens in a new browser tab and displays the application scope selection screen.
Search for the application scope you are working in and then select the name of the application scope.
The Mobile App Builder categories home screen displays.
Select the Functions category, and then select New.
Complete the following fields as needed.
| Field | Value |
|---|---|
| Name | Name of your navigation function |
| Description | Additional information about your navigation function. |
| Type | The type of the function. Since you are creating a navigation function, select Navigation. |
| Context | Whether the function uses the global or record context. For this example, select Global. Use record context navigation functions in situations where the navigation depends on information from a record. For example, you want to navigate from the Assigned to field in an incident record to the assignee's user record. Use global context navigation functions in situation where the navigation does not depend on information from a record. |
| Available offline | Option to determine whether the navigation function will be available in Offline mode. |
| Destination type | The type of record your navigation function will bring users to. Select Screen for navigation to a screen, or select Launcher for navigation to a screen launcher. |
| Auto-populate screen parameters | Automatically populates parameters in the destination screen when the toggle is enabled. |
| Destination screen or Destination launcher | The screen or screen launcher to use for your navigation function’s destination. Either select an existing screen or select New to create a new screen. |
| Condition type | Type of condition to use.
|
| Condition | Conditions that must be met to use the action. For example, you could prevent users from resolving an incident that is in a state of closed, resolved, or canceled. You can choose to use your own Declarative condition picker or write your own conditions using script. |
| Redirection destination fields | Option to connect a function to a screen that uses a parameterized data item. |
| Button attributes | Specifies an additional attribute for a button. Select New to configure this option. You can select from the following button attributes:
|
| Role access | Determine which user roles can access this function. If you have selected no roles, users with any role will have access to the screen. |
If you added a destination screen that has a parameterized data item, in the Redirection destination fields section, select the field Name to update the redirection parameter fields.
- Complete the following fields as needed.
| Field | Description |
|---|---|
| Destination UI parameter | The name of the parameter you created for the data item. |
| Type | Source of information for the parameter. The available options are: - Field: The parameter gets the information from a field on a table. - Constant: The parameter uses a constant value. - Source UI parameter |
| Function table | This field is automatically populated. |
| Function | This field is automatically populated. |
| Source field | UI parameters for the source screen.Note: Displays only if the redirection parameter Type value is set to Source UI parameter. |
- Select Save.
Parent Topic:Configure navigation to a launcher screen