The Data Gathering v2, compatible with Appway 11.0.0, is now available. It includes several new features, such as App Task Actions, which allow developers to define all aspects of an Action in the Process editor directly. Continue reading for more information on new features, as well as documentation links.
The Data Gathering 2.0.0 comes with the following ingredients:
- DataGathering Extension 2.0.0 — This extension includes the new Data Gathering App Task. This extension automatically deploys a Platform Package called DataGathering, which contains the Data Gathering Labels.
- AppTask Extension 2.0.0 — This extension includes all the logic behind the autogeneration of the data-driven UI and the logic to apply a Theme to such UI (Theme Editor). This extension automatically deploys a Platform Package called AppTask, which contains all the AppTask generic Labels.
- AppTaskAPI Extension 2.0.0 — This extension exposes the API used by the DataGathering to communicate with the backend (Data Logic, Theming, Process).
Please, make sure you select 11 from the 'My Appway Version' dropdown at the top right of this page to be redirected to the most updated content.
- App Task Actions: The new App Task Actions allow developers to define all aspects of an Action in the Process editor directly. See full details in the App Task Actions documentation.
- (AppTaskAPI 2.0.0/ DataGathering 2.0.0): A new Appway Script Function is available:
AppTask:HasBlockingViolations(). This function is called in the context of the Data Gathering App Task to check whether the underlying task has any blocking violations. Calling the function in a context different than an App Task will result in an exception. - (AppTaskAPI 2.0.0/AppTask 2.0.0) A script determines whether the Action button is currently shown as enabled, disabled, or hidden altogether. The Sentry script must return one value among the following:
Process:ConnectionSentryState.ENABLED(); Process:ConnectionSentryState.DISABLED(); Process:ConnectionSentryState.HIDDEN()
- Add Button Label (AppTaskAPI 2.0.0/AppTask 2.0.0): Specific labels for the 'Add button"' are now used when rendering Indexed Collections of type Data Class. This is achieved using the new Add Button Label field available for 'Collection' Controls in the Data Logic. See Data Logic documentation.
- Catalogs (asynchronously loaded catalogs) (AppTaskAPI 2.0.0/AppTask 2.0.0): In previous versions of Data Gathering, Catalogs without variable assignments were asynchronously loaded. Starting with Data Gathering v2, Catalogs for which the corresponding Data Logic 'Catalog Values' Rule configuration specifies the option The catalog can return a large number of results are asynchronously loaded, no matter if they declare assigned variables. See Data Gathering Upgrade documentation.
- 'Home' button: The 'Home' button is rendered as the logo on the top-left of the Workspace. See full details in the App Task 'Home' Button documentation.
- (AppTaskAPI 2.0.0) The 'Home' button is configured through the
nm.window.start property. This supports the following configurations: REDIRECT and FORWARD. If configured otherwise or if empty, it resolves to the context path. - (AppTaskAPI 2.0.0/AppTask 2.0.0) A version filter may be applied to the url specified for the
nm.window.start property. This works as follows: 1) If the version filter is already specified in Appway configuration property nm.window.start, this version is not overwritten; 2) If the current version is 'head', the head version filter is applied. 3) In all other cases, no version filter is applied (the current timestamp filter is used).
- String validation Support for configurable String validation on data fields is available, including Email and Phone Number strings. See full details in the Information Framework: Data Logic Rules documentation:
- Restricted the maximum and minimum length required for a field
- Forced fields to change values to all lower case or upper case
- Restricted data fields to only accept A-Z characters and/or numbers
- Set data fields to enforce common validation for email
- Configured text area size for data fields depending on maximum and minimum length requirements.
- Task Title (AppTask 2.0.0): The Task Title property in the App Task Editor allows setting the page title. In case the property is not set, it shows 'Appway'.
- UX (AppTask 2.0.0): Improved the Header look & feel.
The Data Gathering v2 can be requested through the Support Ticketing System:
Go to Community Support and open an 'Appway Software Request' Ticket.