Properties for a menu item or custom action selected on the Screen Design page.
Property | Description |
---|---|
Name | A text label for the menu item. |
Key | A key,
unique within the current scope, that identifies the item. Note: If
the value is not unique, the Problems view reports a missing key
error.
|
Default | Specifies that the menu item is displayed prominently on the screen. |
Icon | Displays an icon with a menuitem that is in the footer on iOS devices. No other devices or locations are supported. Available icons represent common functions such as navigation arrows, Delete, and Search. |
Type | The
type of action the item performs:
|
Property | Action Type | Description |
---|---|---|
The properties in the Details section vary depending on the action type. | ||
Mobile business object | Online Request, Submit Hybrid App | The MBO with which the menu item is associated. Click Search to locate the MBO. |
Invoke parent update | Online Request, Submit Hybrid App | No changes are made to the parent MBO, but the appropriate operations (create, update, delete) are performed on its descendants. |
Invoke operation | Online Request, Submit Hybrid App | Runs the selected operation for a selected MBO. |
Invoke object query | Online Request, Submit Hybrid App | Runs the specified object query from the item. |
Generate old value keys | Online Request, Submit Hybrid App | Specifies that old value keys are generated (default). If unselected, old value keys are not generated, resulting in a much smaller message and improved performance. However, if you need the old value keys for update or parent update operations, you should leave the property selected. |
Show credential screen on authentication failure | Online Request, Submit Hybrid App | The credential screen displayed when authentication fails. If unselected, authentication failures are treated the same as other types of failures. |
Execute asynchronously | Online Request, Submit Hybrid App | Specifies that the call does not wait until the current operation completes, but starts immediately. By default, the call is synchronous. |
Timeout | Online Request | The maximum amount of time, in seconds, to wait for the server to respond before timing out and giving an error message. |
Store data in on-device cache | Online Request | Enables query results to be stored in the device cache as defined in the on-device cache properties below. When unselected (default), query results are stored only in server cache. |
On-device Cache Properties | Online Request | If
Store data in on-device cache is selected,
these properties control parameters for caching query
results.
|
Screen | Open | The screen that opens when the user clicks the item, or as the result of a GoTo connection. |
Online requests and custom actions can bind parameters in Mobile Business Object (MBO) operations and object queries to keys or context data that are used in the submitted messages. The Parameter Mappings properties are generated as metadata in WorkflowClient.xml, which defines all the application's action mappings.
The Parameter Mappings table shows the available parameters in MBO operations and object queries, and their current mappings. The Edit button opens the Parameter Mapping dialog, where you can modify the properties of a selected mapping.
For information about parameter mapping, see WorkflowClient.xml File in Developer Guide: Hybrid Apps.
This page lists any personalization keys. To define the value of a personalization key, select its row in the list and click Edit.
Personalization keys allow the mobile user to personalize specific input field values by associating a key with a value. If your mobile business object has load parameters mapped to transient personalization keys, you can specify the key values that are loaded when an operation or object query is invoked from the Hybrid App package. This can be useful, for example, in loading specific data from large data sources into a consolidated database.
You can also fill the personalization key values with values extracted from the notification, depending on from where you are invoking the object query.
For more information, see Managing Personalization Keys in Sybase Unwired WorkSpace - Mobile Business Object Development.
Property | Description |
---|---|
Personalization key | The name of the personalization key. |
Key | An operation argument, load argument, or synchronization parameter that provides the value of the personalization key. |
Project | The project in which this personalization key is created. The personalization key appears in the Personalization Key folder of the selected Mobile Application project. |
Lists keys you want an Online Request menu item or custom action to load from the server and return to the client.
Property | Description |
---|---|
Key Name | A key whose value is resolved by the server and returned to the client. |
Type | The type of the selected key (read-only). |
Data Binding | The data binding, if any, associated with the key (read-only). |
You can use these buttons to manage the list of output keys:
The Success/Error section contains the following properties when you select the Online Request type in the General section.
Property | Description |
---|---|
Submit error message | Text of the message the user sees if there is an error during the
submit operation. When an operation is invoked, the user can receive any error messages that may occur on the client application. The error messages are a single key of the List type, with a single key of the String type as its child. Each child instance corresponds to an error message. |
Error Screen | The screen that
opens if an asynchronous operation invocation fails. You can select
an existing screen or click Generate Error
Screen to create a new one. If no error screen is specified, the client application receives the notification in processDataMessage/processWorkflowMessage, whether or not an error occurrs on the server. If errors occur on the server, any error log keys sent with the message include the relevant error messages. The log files on the server also contain the specifics of those errors. |
Default Success Screen | The screen to open upon successful communication with the server. |
Condition table | Enables you
to apply custom functions that to override the default navigation
between screens in the running Hybrid App.
During package generation, the conditional navigation screen adds a
call to the customConditionalNavigation function.
The function evaluates each piece of custom logic one at a time, in
order, and returns a boolean value. When the first condition comes
back as true, the user is navigated to the matching screen for that
condition. For more information about customizing screen navigation, see Implementing Conditional Navigation in Developer Guide: Hybrid Apps |
The Success/Error section contains the following properties when you select the Submit Hybrid App type in the General section.
Property | Description |
---|---|
Submit confirmation message | (Optional) Text that is displayed in a message box when the submit operation finishes successfully. |
Resubmit confirmation message | Specifies that the resubmit confirmation message is displayed if the option Mark message as processed after processing is enabled in the Flow Design page properties, and if the user attempts to submit the workflow after it has already been previously submitted. |
Error screen | The screen to which the user navigates if an
asynchronous operation invocation fails. You can select an existing
screen or click Generate Error Screen to
create a new one. If no error screen is specified, the client application receives no notification of the failure — failures appear only in the log files. |
Subject | A subject for a
notification that is sent to the device, with appropriate error log
keys, if an error occurs. Note: The subject can reference the screen
name and action name using macros (except in server-initiated
workflows). For example:
"An error occurred trying to perform the ${action} action on the ${screen} screen. |
From | Text for the From field
of the notification that is sent to the inbox when an error occurs.
Note: The subject can reference the screen name and action name
using macros (except in server-initiated workflows). See the
Subject example.
|