Configure a calendar screen
Create a screen that displays a calendar with a list of related records. Users can see which records are related to dates on the calendar.
Before you begin
Role required: admin
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 Screens category, and then select New.
- Select the Calendar option in the Create a screen page, and then select Continue.
-
Complete the fields as needed.
Table 1. Calendar screen record Field Description Properties Name The name of your calendar screen. This name appears as a tile in the mobile application. Description Additional information about your calendar screen. Settings Fetch type Control when the data is loaded onto the screen. Select the On-demand option for optimum load time performance. For more information, see Mobile fetch types. Hide screen name Option to determine whether the screen name isn't shown as the screen header. This option is useful if the text already appears in the header name or if it doesn't provide any value to the user. Hide filters and sorting Option to prevent the calendar screen list from displaying a list filter. Icon Icon used to represent your calendar screen when added to a launcher screen. Custom filters Option to determine the fields that users can filter by. Use this option to help users find the events that they need. Users can bookmark the selected filters for future reference, by selecting the bookmark icon. For more information, see Mobile list screen filters.
Screen segments Configure a screen segments for the calendar screen. Use it to add the calendar element within the screen. Quick action function action instances Option to create a quick action button to display directly on the user’s calendar screen. This button helps your users to access commonly used functions, such as transferring records or using a template in the mobile app. After the user taps this button, they have the option to create a new event. If a single quick action function is configured, the user is navigated to the event as defined by you.
If more than one quick action function is configured, a menu from the bottom displays and the user selects the relevant event. For example, create a new incident or create a work order task.
For more information, see Quick actions.Note:Quick action function instances can’t be reused so you must configure a new one. However, you can use an existing function to configure your quick action function instance.Top menu function instances Option to determine whether to use top menu functions to display additional options. Use the top menu function location for less frequently used actions. You can also use the option on forms when you have more actions listed than conveniently fit in the footer. For more information, see Use your navigation function as a top menu selection.
Input form screen Option for a calendar screen to display content from a record. For example, the user selects a contact from a menu in a preconfigured input form screen. After tapping this option, the calendar screen opens with filtered data for the selected contact. For more information, see Input form screen.
UI parameters (legacy) Optional configuration that affects how a field or UI element behaves. Use UI parameters to determine how a value can be entered or whether it's automatically populated for the UI element, based on the end user's action. Role access Determine which user roles can access this screen. If you've selected no roles, users with any role will have access to the screen. -
In the Icon section, either select an existing icon or create an icon.
This icon represents the calendar screen in a launcher screen. For more information about creating icons, see Mobile icons.
- Optional:
In the Quick action functions instance area, either select an existing function instance or create a new one.
You can create more than one quick action function instance. For more information see, Quick actions.Note:The quick action button is an effective way for users to add events to the calendar.
- In the Screen segments section, select New to create a segment used for the stream displayed within the calendar.
-
Complete the fields as needed.
Table 2. Screen segment record Field Description Properties Name Name for the screen segment screen. Order The order in which the segment appears on the screen. Segments display from the lowest to the highest value. Screen Displays the calendar name from the calendar screen record. Max number of offline rows The number of rows displayed for offline viewing. Streams Records that connect data items and list item config records to the list screen. Interleave sort Interleave sort Determine whether the list stream interleave field is sorted in ascending or descending order. - In the Streams section, select New.
-
Complete the fields as needed.
Table 3. Calendar event stream record Field Description Properties Name Name for the calendar event stream. Data Table Choose the relevant table that contains the data you want your calendar event stream to display. Start date field Select which field in the selected table contains the start date information for your calendar items. End date field Select which field in the selected table contains the end date information for your calendar items. Interleaved field Select the field that sorts the event stream containing your data items. If you don't select a field, the data items are separated by source. Data item Data items are queries on a selected table that provide the data presented in a screen. List item config Determine how each record appears and the actions associated with it. -
In the Data section, complete the following fields:
- Table - Select a table that contains the data you want your calendar event stream to display.
- Start date field - Select a field from your chosen table to contain the start date information for your calendar items.
- End date field - Select a field from your chosen table to contain the end date information for your calendar items.
- (Optional) Interleaved field - Select the field that sorts the event stream containing your data items. If you don't select a field, the data items are separated by source.
-
In the Data Item section, select New to create a data item for your calendar event stream, or select Choose to reference an existing data item.
The data items displayed corresponds to the data table that you selected from the Table field in the Calendar event stream record. For more information on creating data items, see Configure a standard data item.
- In the List item config section, select New, to ensure a visual display appears on your mobile device, or select Choose to reference an existing list item config.
-
Complete the fields as needed.
Table 4. List item config record Field Description Name Name for the list item config. Settings - List item config order The order in which this list item config renders when multiple list item configs are connected to a list stream. Data The table associated with your data item. Note:The table used in this record should match the entry in the Table field from the calendar event stream record.Conditions The conditions that determine what is shown if there are multiple list item configs in a list stream. View using How the list item config is viewed. Card / Legacy card Cards visually display information from different records. On tap Determines how the mobile app responds to a tap on the screen. Select Use a function instance. On tap function instance Determine what actions appear when a user taps on a list item.
Select a navigation function or select New to create one. For more information about creating a navigation function, see Navigation functions.
Note:This option only appears when Use a function instance is selected for On tap.Embedded screen Option to add an embedded screen within a list screen.
Note:This option only appears when Navigate to screen is selected for On tap.Leading swipe function instances Determines the actions performed or appears when a user initiates a swipe gesture from the front of a list item. Trailing swipe function instances Determines the actions performed or appears when a user initiates a swipe gesture from the back of a list item. - In the On tap field, select the Use a function instance option.
- In the Data section, select the same table used in the Table field within the calendar event stream record.
-
In the View using section, select the Card option.
Note:The legacy card option is also available, however legacy cards don't have the same capabilities as regular cards.
- In the Card section, select Choose to use an existing card or select New to create a card.
-
Complete the fields as needed.
Table 5. Card record Field Description Name Name for the new card. Description Additional information about the card. Active Select whether the card record is active or not. Data The table associated with your data item. Card template The layout of UI elements used within the card. UI rules The UI rule associated with this card. - In the Data section, select the table that contains the data you want to populate on your card.
- In the Card template field, select Choose to reference an existing card template.
- Select Save.
- Optional:
To customize elements and attributes of your card, do the following:
- Select the Open in Mobile Card Builder button.
The Mobile Card Builder tool displays in a new tab.
- Make any required changes to your incident list card. For more information about working with Mobile Card Builder, see Mobile Card Builder.
- Select Save.
- Select the Open in Mobile Card Builder button.
- Select Save.