Mobile Development Kit Client 5.0¶
Notable new or changed features for the Mobile Development Kit Client 5.0
New UI Controls¶
Flexible Column Layout¶
Flexible Column Layout This control renders a flexible column layout with 2 columns in a page.
Each column's content is rendered as a page.
When the left most column is rendered with a section list, the right column next to it is used to render the detail of a selected item from list.
Side Drawer is a global navigation menu which allows for lateral navigation across various pages in the app. Only one page can contain this control and this page has to be added as the 'MainPage' in Application.app file to enable the side drawer. The first item in the first section of this control will define the landing page of the application.
Support Header Type Control & Tabs in a Page¶
You can now add 2 container controls as root controls of a page.
- The first control must be a
Sectioned Tablethat contain a single section with a header type control e.g. Object Header or Profile Header
- The second control must be a
Any other combination is not supported.
PullDown Event for Page¶
PullDown allows app to define action or rules to be executed when the page pull down operation is performed i.e. when user swipes down on the page.
Support Loading Indicator for Sectioned Table¶
LoadingIndicator - You can enable the loading indicator and customize the text. The loading indicator will be displayed when the page is first loaded and will be dismissed when its content is rendered.
Support Data Paging Loading Indicator¶
DataPaging property are supported in:
You can enable the loading indicator and customize the text. The loading indicator will be displayed user scrolled to the bottom of the list and the app starts loading the next set of data, it will be dismissed when the next set of content is rendered.
Avatar and Circular Icon Support for Action Bar Item¶
Action Support in the Banner Message¶
Banner Message now supports interactivity which can be used to execute an action or rule on click. Following new properties have been introduced to support this new behavior
ActionLabelcan be used to indicate that banner is clickable
OnActionLabelPresstriggers an action or rule
DismissBannerOnActionto dismiss the banner on click
Action Support in Progress Banner¶
Progress Banner now supports interactivity which can be used to execute an action or rule on click. Following new properties have been introduced to support this new behavior
ActionLabelto indicate that progress banner is clickable
OnActionLabelPresstriggers an action or rule
DismissBannerOnActionto dismiss the banner on click.
CompletionActionLabelto indicate that the completion message is clickable
OnCompletionActionLabelPresstriggers an action or rule on click of completion message
getIconTextImage Client API¶
SetFocus API for Form Cell Controls¶
setFocus API - Calling this function will set the focus on the control. Supported only on the following controls:
- Title Form Cell
- Simple Property Form Cell
- Note Form Cell
Support Auto Select Default Value in List Picker¶
AllowDefaultValueIfOneItem - Support auto assigning default value if there is only 1 item in the list picker's value list
Support Password Input Type in Simple Property Control¶
Simple Property Form Cell now support keyboard type
NumberPassword will show only numeric keyboard.
Enabling Search Across Multiple Sections in a Page¶
Search is now supported across multiple searchable section controls in a page. This is an enhancement over earlier release where Search would be disabled in case of more than one control in a page.
Support Rules, Logical Operators and Functions in Filter and Sort Control¶
Filter and Sorter form cell control have now been enhanced to support the following
- Rules support for filter and sorter form cell
- Support of standard OData logical operators such as less than, greater than, not equals and others
- Support of standard OData functions such as
- Support of standard ascending and descending operators for sorter form cell
Font Icon Styling¶
We have now introduced support for styling on font-icon e.g.
- Action Bar Item's Style property
- Contact Cell's Styles property on
- Grid Row Item Style property
- Image Cell's Styles property Image
- Object Cell's Styles property on
- Object Header's Styles property on
- Profile Header's Styles property on
Unified OData Initialize Action¶
This new action can be used to initialize both offline or online OData service.
With the introduction of this new action, the following actions are now deprecated:
- Offline OData Initialize (
- OData Service Create (
- OData Service Open (
Partial Upload for Offline OData¶
UploadCategories provides capability to selectively upload a subset of local changes to OData back end. This is an enhancement over earlier release where all the local changes had to be uploaded in one single request.
Support OData Deep Insert¶
Deep insert is now supported in OData Create Entity action.
You can now create an entity together with other related entities (navigation properties) inline as part of the entity's
Note: For Offline OData, you can only do deep insert on navigation property for which the
ToRole refers to an association end with cardinality 0..1 or 1. Inline entities cannot be added using a navigation property for which
ToRole refers to an association end with cardinality . In short, A navigation property that refers to a set of entities* cannot be used for deep inserts.
Action Result Error
responseCode for OData Actions¶
ActionResult of all online OData actions will now contain new property in the error when an error occurred, this applies only to online OData service calls. For Offline OData service call, the error is still found in the
ErrorArchive entity set after an upload operation.
ActionResult.error now contains the following new properties
responseCode- this is the HTTP error code in the response returned by the OData service
responseBody- this is the response body payload returned by the OData service in string format. If the payload is a JSON string, you can parse it to be an JSON object for further processing.
In 5.0, we now support defining a non OData destination as a service in your app. You can then use bind that service to any controls that support
Target binding such as Object Table.
You can find the structure of the binding for such service here
We have also enhanced the
ClientAPI.sendRequest API to support setting the request body directly with:
- JSON object which will automatically be converted to JSON string with header
Content-Type: application/json, if you have not provided your own
- Binary data, you need to set the appropriate
- Array for multiple part form data by setting the header
Mobile Development Kit Client¶
Support In-App QR Code Onboarding From Mobile Services Cockpit in Cloud Foundry¶
Client now supports the In-App QR code available in mobile services cockpit of Cloud Foundry. This QR code is supported only from the in-built scanner of client and not from third party QR scanner.
Mobile Development Kit Client package now include ILOData tool that can be found in the
Tools/ilodata folder. Interactive Local OData (ILOData) is a command line utility that lets you execute OData requests, upload and download against a local offline store (
.udb file). For details please see the
README.html in the folder.
Mobile Development Kit Editor 2010¶
|Title||Type||Environment||Description||Available as of|
|Support Client 5.0 metadata||New||Neo (Web IDE)||Support new metadata changes for Client 5.0||Oct 27, 2020|
|Support Client 5.0 metadata||New||CF (Business Application Studio)||Support new metadata changes for Client 5.0 as Business Application Studio extension||Oct 27, 2020|
|Support Web Client development||New||Neo (Web IDE)||Support creating and deploying Web Client application||Oct 27, 2020|
|Support Web Client development||New||CF (Business Application Studio)||Support creating and deploying Web Client application||Oct 27, 2020|
|Micro App (WeChat) User Experience improvements||New||CF (Business Application Studio)||Micro App (WeChat) User Experience improvements||Oct 27, 2020|