Supported controls when working offline
When developing a user interface for an offline-enabled application, you must use a frameless dynamic container. Data must be sourced using data pages.
Frameless dynamic containers must be in a screen layout to function. You can use only the following user interface controls and components when working offline:
- Formatted text (supported only for the following types: none, text, date-time(custom), email, phone, URL, true-false, number)
- Dropdown (sourced from a local list or a data page, with At Screen Load load behavior mode, cascading)
- Autocomplete (sourced from a data page or a large data page)
- Text inputs
- Check boxes
- Radio buttons (sourced from a data page or local list)
- Date/time
- Icons
- Menu
- Attach Content
- Signature Capture
- Address Map
- View static PDF
- Search
- Paragraph rules
Only client-side visible whens and client-side validation are supported. Auto-populated properties are also supported. You can activate when for layout groups. 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 supported on the repeating dynamic layout for a worklist in which the opening of an assignment is supported, as well as open by handle, and are also supported when adding or removing a row. When using the Add
or Remove
action on a repeating dynamic layout, you do not need to use a Run Script action. You can configure master-detail interaction and view for both online-only and offline-enabled cases.
Keep in mind the following information:
- The Delete action button must be configured within the repeating dynamic layout row.
- The 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 with one exception:
- When the user's actions are replayed on the server during synchronization.
- Declaratives with one exception:
- Custom client-side JavaScript-based declaratives can be implemented.
- Refresh section for other section by name, or property reference. Only refresh this section is supported in offline mode.
- Localization of property references
- Cascading of controls with one exception:
- Cascading dropdowns that use parameterized data pages sourced from report definitions.
- When rules
- Non auto-generated controls
Open topic with navigation