You are here: Mobile > Supported controls while working offline
Supported controls when working offline
When developing a mobile app user interface that is available offline, you must use a frameless dynamic container. You can use only the following user interface controls when working offline:
- Dropdown (sourced from a local list or a data page, with At Screen Load load behavior mode)
- Text inputs
- Check boxes
- Radio buttons (sourced from a local list)
- Date/time
- Formatted text (supported only for the following types: none, text, date-time(custom), email, phone, URL, true-false, number)
- Attach Content - see Adding an Attach Content control.
- Signature Capture - see Adding a Signature Capture control.
Only client-side visible whens and client-side validation are supported. You can use client-side JavaScript when working offline. ClientCache JavaScript API can also be leveraged to create and remove pages in offline mode - see its API for further details.
Note: A user that is offline can attach content and signatures to work objects that have been created offline.
Repeating dynamic layout for lists
You must use a repeating dynamic layout for lists instead of grids when using the offline capability in your application. Actions are not supported on the repeating dynamic layout except for a worklist in which the opening of an assignment is supported. Only Add
or Remove
action is supported on a repeating dynamic layout which can be configured by using a Run Script action. Keep in mind the following information:
- The Delete action button must be configured within the repeating dynamic layout row.
- The Pega developer should take care of creating and deleting the row context page.
- The local action used to populate the row page should be configured with the Use data page option.
- The Add and Remove APIs are actioned even if there are errors on the row page.
- The source of the repeating dynamic layout should be a Page List.
Items not supported in offline mode
The following items are not supported when you work with user interface controls in offline mode:
- Server-side conditions
- Server-side validation
- Declaratives
- Refresh section
- Localization of property references
- Cascading of controls
- Parameterized data pages (no cascading between controls)
- When rules
- Non auto-generated controls
Related information
Open topic with navigation