Create a navigation function for your chart screen
Create a navigation function to direct your users from the chart screen to a parametrized list.
Before you begin
Procedure
-
Navigate to All > System Mobile > Mobile App Builder.
The Mobile App Builder
-
Search for the application scope you are working in and then select the name of the application scope.
The Mobile App Builder
- Select the Functions category, and then select New.
-
Complete the following fields as needed.
Table 1. New function screen form Field Value Name Name of your navigation function Description A unique description for your navigation function. Type The type of the function. Since you are creating a navigation to a chart screen, 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 active on Offline mode or not. Destination type The type of record your navigation function will bring users to. Since you are creating a navigation to a chart screen, select Screen Destination screen The screen or screen launcher to use for your navigation function’s destination. Either select an existing chart screen or select New to create a new chart screen. Condition type The conditions applied to the chart screen.- Declarative: Adds a conditional builder to the form. For more information, see Condition builder.
- Script: Adds a script condition field to the form.
Note:Displays only if Context is set to Record.Condition This is a condition that must be met for the function to be visible in the app for the user to click on. For example, if you don’t want to let someone navigate to a screen of tasks until after they have clocked in for the day. 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:
- alerts_require_dismissal: The button attribute when set to true enables the banner messages to persist until the user dismisses it. By default, banner messages are automatically dismissed.
- used_for_deeplink: The button attribute when set to true determines that the button is used for deep linking. For more information, see Deep linking for mobile.
- trigger_offline_cache_download: The button attribute when set to true triggers offline cache generation. After the cache is successfully generated, a download of it is triggered.
- check_acl_on_url_parameter_field: When this button attribute is selected and set to true, any field in the URL string, is checked against the ACL (access control list). For
example, a string like
{{meeting_id}}. If a field does not pass this check, the field value is not included in the URL. By default, the URL parameter field is not checked against the ACL for backward compatibility.
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. - In the Destination screen section, either select an existing record or create a new one.
- Select Save.
What to do next
Assign your navigation function to your chart screen. For more information, see Assign the navigation function to the chart screen.