Altova MobileTogether Designer

Version 6.0

 

 

Control templates and Placeholder Controls

A control template is a design component that is defined in one location and can be reused at multiple locations in the design. The parameters and variables of a control template provide flexibility, enabling use in different contexts.

A new Placeholder Control enables you to place a control template at a desired location. You can use multiple Placeholder Controls to place a control template at multiple locations.

How to use control templates and Placeholder Controls is described in the section Control Templates.

 

 

Controls

A new Placeholder Control enables you to place a control template at a desired location and pass the template parameter values via XPath expressions.

Button control: Additional images have been added to the library of images that can be displayed on buttons (via the Button Image property).

Button control: A new property Button Image/Text Distance has been added to specify the horizontal distance between a button's image and text.

Rich Text control: The height of the control can be applied to web client display as well—in addition to its applicability on other devices

The Open URL and Open File actions on web clients have a new option that enable the resource to be opened in the current browser tab or a new browser tab.

The Label control has a new property, Strikethrough Text, which shows the label's text with a strikethrough.

 

 

Actions

Action Execute FlowForce Job enables the result of a FlowForce job to be returned as an action.

The Measure Controls action returns the minimum width in pixels of the specified control kind (button or label, for example) for a specified control text. This enables you to find the width of a set of controls and use this information in your design. For example, you could find the width of all buttons in a column and then set the width of this column according to the largest button-width value. The returned value is stored in the MT_MeasureControls variable.

The Break Loop action is placed inside a Loop action, and is used to exit the loop.

The Open URL and Open File actions on web clients have a new option that enable the resource to be opened in the current browser tab or a new browser tab.

A new project option (in the More Project Settings dialog) has been introduced to abort actions in case of errors during action handling.

The Solution Execution action has two new settings: (i) to restart the solution, and (ii) to enable solutions running on web clients to be opened in a new browser tab.

 

 

Action Groups

You can now also pass arrays and maps to Action Groups as parameter values. This is in addition to being able to pass atomic values and nodesets.

In the Execute Action Group action, the Action Group to execute can be selected via an XPath expression, thus enabling the Action Group to be selected dynamically. This option is in addition to being able to select the Action Group from a dropdown list that contains all the Action Groups defined in the design (a fixed selection).

Action Group parameters can also be selected dynamically, via XPath expressions.

Action Groups have been enhanced so that variables can be defined and used within the action group.

 

 

JSON

Two new JSON-related MobileTogether extension functions have been added: (i) mt-load-json-from-string, (ii) mt-save-json-to-string. These enable you to, respectively, generate an XML node from a serialized JSON data structure, and generate a serialized JSON data structure from an XML node. They are useful when you want to pass JSON structures as string parameters, for instance, in a web services call.

 

 

XPath-related features and XPath extension functions

The XPath/XQuery Window has been enhanced with improved entry helpers and more intuitive layout.

Three new MobileTogether extension functions have been added: (i) mt-db-original-row, (ii) mt-load-json-from-string, (iii) mt-save-json-to-string.

The MT_InputParameters variable now takes, by default, a map data structure. For individual projects, you can switch the data structure of this variable (in the More Project Settings dialog) to take a sequence of values (which was the mandatory data structure of the variable in releases prior to 6.0).

The new MT_MeasureControls variable stores the result of the last-executed Measure Controls action.

The new MT_AutheticationToken variable stores the authentication token data sent by the Solution Execution action.

New Altova extension functions are available for use in XPath expressions. For descriptions of the currently available functions, see here.

 

 

Databases

A new MobileTogether extension function named mt-db-original-row retrieves the data from a row before the row was modified.

When saving modified DB data, you can specify in what order the modifications must be made: Delete,Update, Insert. Such Save actions can be carried out via the Save control and the Filter Columns command of the DB page source's context menu.

 

 

Miscellaneous

If you want the user of a solution to go to a solution on another MobileTogether Server, then you can pass authentication information securely to the second server, thus obviating the need for a second user login.

A new Java tab in the Options dialog to specify the location of the Java VM (virtual machine) on your system.

Parameters and variables can be declared on a sub page. This provides you with more flexibility for dealing dynamically with data on the sub page.

In the project settings, you can select the theme of the solution: light, dark, or device-selected.

On Android 7 devices and newer, the app window has been configured for use in multi-window display (aka split-screen mode).

 

© 2018-2024 Altova GmbH