Skip to content

Latest commit

 

History

History
1436 lines (845 loc) · 36.5 KB

What_s_New_in_OpenUI5_1_56_108b7fd.md

File metadata and controls

1436 lines (845 loc) · 36.5 KB
loio
108b7fde0df740258e8dc93f4f857eb5

What's New in OpenUI5 1.56

With this release OpenUI5 is upgraded from version 1.54 to 1.56.


Version

Type

Category

Title

Description

Action

Available as of

1.56

New

Feature

New Event Handler Parameter Syntax

New Event Handler Parameter Syntax

When event handlers are assigned to control events in XML views, you can now also specify parameters which can be passed to the event handler. The parameters can be static values as well as bindings and even expressions. This feature helps to reduce controller code and avoid unnecessary controller methods, and separates the controller logic from the retrieval of the required input values.

<Button text="Add Product" press=".modifyList('add ', ${products>unitPrice})"/>

For more information, see Handling Events in XML Views.

New•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

New

Feature

XML Composite Control

XML Composite Control

A new type of composite control, the XML composite control, is now available. It let's you build more flexible controls that contain separate XML and JavaScript parts. For more information, see the API Reference and the Samples.

New•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

New

Feature

Support Assistant

Support Assistant

The Support Assistant now allows you to import and export your rule selection. This helps you when you want to perform more than one analysis with the same subset of selected rules. The selection is exported as a .json file with a title and description of your choice. You can then import this file and load it whenever you want to execute the same rules in another analysis.

For more information, see Rules Management.

New•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Feature

OpenUI5 OData V4 Model

OpenUI5 OData V4 Model

The new version of the OpenUI5 OData V4 model has the following features:

  • Binding parameter $$ownRequest to enforce that a binding sends its own requests.

  • Binding parameter $$aggregation to display aggregated data.

    Note:

    This feature is still a work in progress. So far it supports displaying a flat list of aggregated data or grouping by one groupable property without being able to expand.

  • The refresh of a single row in an absolute list binding can now also take filters into account .

  • When executing a deferred bound operation, the result of the promise returned by v4.ODataContextBinding#execute is the context representing the data of the bound operation response if certain conditions are fulfilled. For more information check the API for ODataContextBinding#execute.

Restriction:

Due to the limited feature scope of this version of the OpenUI5 OData V4 model, check that all required features are in place before developing applications. Check the detailed documentation of the features, as certain parts of a feature may be missing. While we aim to be compatible with existing controls, some controls might not work due to small incompatibilities compared to sap.ui.model.odata.(v2.)ODataModel, or due to missing features in the model (such as tree binding). This also applies to controls such as TreeTable and AnalyticalTable, which are not supported together with the OpenUI5 OData V4 model. The interface for applications has been changed for easier and more efficient use of the model. For a summary of these changes, see Changes Compared to OData V2 Model.

For more information, see OData V4 Model, the API Reference, and the Sample in the Demo Kit.

Changed•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Feature

Support Assistant

Support Assistant

  • sap.ui.support.ExecutionScope.getElements has a new parameter cloned. It allows users of the Support Assistant to filter out elements that are clones of list bindings. Now the results will include only the representative clone. For more information, see the API Reference.

  • A Filter view showing the currently applied filter has been added to the Issues view of the Support Assistant. The Clear Filtering button () has moved to the Filter view. It is active only when there is a filter selected.

  • An explanatory note has been added to the Additional Rulesets view under the header to give more clarity about the function of these rulesets and why they are in a separate tab.

  • The Report button is now fixed to the panel to be always visible and not to get into the overflow.

  • The font sizes are aligned across all three views for consistency.

  • In the Issues view the number of issues is only highlighted when there are issues of medium and high severity. This improvement helps to easily see the distribution of the issues by severity.

Changed•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Feature

Drag and Drop

Drag and Drop

Configuration for dragging has been separated from the one for dropping. This allows you to also perform drag-and-drop operations, for example, from one view to another.

For more information, see the API Reference for DragInfo, the API Reference for DropInfo, and the Sample.

Changed•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Feature

Drag and Drop: General Support (experimental)

Drag and Drop: General Support (experimental)

Drag and drop has been enabled for all controls (with the new dragDropConfig aggregation) in sap.ui.core.Element.

Restriction:

This function is not intended for production use except for the controls for which drag and drop has already been enabled in previous versions (for example, for tables and lists).

For more information, see the API Reference (dragDropConfig aggregation).

Changed•Feature•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.f.DynamicPageHeader

sap.f.DynamicPageHeader

For more information, see the Sample.

Note:

The above functionality and visual appearance is also maintained when using the dynamic header of the sap.uxap.ObjectPage control.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.DateTimePicker

sap.m.DateTimePicker

Two new properties are added to the control - minutesStep and secondsStep. They allow configuring the value step for the minutes and seconds sliders. For example, if you need the values for the minutes inside the slider to be multiples of 5, you can use the option - minutesStep:5. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.IconTabBar

sap.m.IconTabBar

  • Drag and drop between the header and the overflow list is now possible. When you hover over the overflow button with a dragged element, an overflow list opens and you can drag an item from the header to the list. For more information, see the API Reference and the Sample.

  • A new TabDensityMode property is introduced in both sap.m.IconTabBar and sap.m.IconTabHeader. The property allows both the Tab Bar and the Header to change their density within different controls. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.List

The expand/collapse arrow and the pin/unpin buttons now have a new visual design. They are

sap.m.List

The columns aggregation was deprecated in version 1.16 and has now been removed. Use the sap.m.Table control instead.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.MenuButton

sap.m.MenuButton

The control now has a new menuPosition property. It specifies the position of the popup menu with enlisted options. By default, the menu opens at the bottom left side of the control but if there is not enough space in the current window, it tries to open on the opposite side. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.PlanningCalendar

sap.m.PlanningCalendar

  • The new appointmentDragEnter event allows appointments to be dragged and dropped between calendar rows. By default, when the enableAppointmentDragAndDrop property is enabled, appointments can be dragged only within their original PlanningCalendarRow. When enableAppointmentsDragAndDrop is set to true, attaching the event handler to the appointmentDragEnter event can change the default behavior and allow appointments to be dragged on the same row and between calendar rows.

  • Appointments can now be created in one PlanningCalendarRow by dragging with the mouse on an empty cell. This behavior is enabled with the enableAppointmentCreate boolean property. When creating is finished, an appointmentCreate event is fired.

  • The new enableAppointmentResize boolean property provides the possibility to resize appointments in one PlanningCalendarRow. When resizing is finished, an appointmentResize event is fired.

  • A new functionality to copy appointments by dragging them is added on the PlanningCalendarRow level. When you press [Ctrl]/[Cmd] while dragging an appointment, dropping it will create a copy.For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.PlanningCalendarRow

sap.m.PlanningCalendarRow

The new specialDates aggregation allows you to mark special days on a row level. The aggregation is of type sap.ui.unified.DayTypeRange but you can set a specific type to the corresponding date.For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.SelectDialog

sap.m.SelectDialog

With the new growing property, you can control the progressive loading of bound items. By default, it is set to true which means that features like the number of selected items in the info bar and search (if present) will work only for the currently loaded items. To make sure that all items in the table are loaded at once, and the above features work properly, you should set the growing property to false.

Note:

The growing functionality cannot be used together with two-way binding.

For more information, see the API Reference.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.Slider/sap.m.RangeSlider

sap.m.Slider/sap.m.RangeSlider

  • You can create a custom scale (for example, with dates) for the sliders. To do this, you need to add custom scale and implement the Iscale interface.

  • You can create a custom tooltip, by extending the class sap.m.SliderTooltipBase and overriding some methods. If you want to define your own content for the tooltip, you should override just the renderTooltipContent method.

For more information, see Sliders and the API Reference.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.Table

sap.m.Table

  • The new sticky property enables the column headers, infobar, and toolbar to remain in a fixed position at the top of the page during vertical scrolling.

    Note:

    The API has changed slightly compared to the experimental API provided in version 1.54.

    For more information, see the API Reference and the Sample.

  • The popinLayout property is now also supported for Microsoft Edge (version 16 and higher). For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.TableSelectDialog

sap.m.TableSelectDialog

  • A new property growing is added to the control. It determines the progressive loading. When set to true, the features Selected Count in Info bar, Search, and Select/Deselect All, if present, will work only for the currently loaded items. To ensure that all items in the table are loaded and these features work as expected, you need to set the property to false.

    Note:

    The growing functionality cannot be used together with two-way binding.

    For more information, see the API Reference and the Sample.

  • The control now has a Reset button which allows you to clear the selection you have made in your Table Select dialog with one click. The button is enabled only when you make a selection. Otherwise, it is grayed out. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.m.Tree

sap.m.Tree

You can now expand and collapse multiple rows at once by using the related methods. For more information, see the API Reference for the expand method, the API Reference for the collapse method, and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.ui.core.ScrollBar

sap.ui.core.ScrollBar

The control has been deprecated. For more information, see the API Reference.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.ui.layout.BlockLayout

sap.ui.layout.BlockLayout

The new titleLink aggregation allows the replacement of the title of a BlockLayout cell with a link using the sap.m.Link control. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.ui.layout

sap.ui.layout

sap.ui.layout library for form.Form, form.SimpleForm controls: Usability of the form controls has been improved: The form content is arranged in a flexible, horizontal way depending on the number of columns so the user doesn’t have to scroll unnecessarily, and no vertical space is wasted. A new layout ColumnLayout has been created for that purpose. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.ui.unified.Calendar

sap.ui.unified.Calendar

With the introduction of the weekNumberSelect event, the week numbers in Gregorian calendars have become interactive. The event indicates when you have clicked on a week number. Keep in mind that for the event to work, the intervalSelection property must be set to true. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.uxap.ObjectPageDynamicHeaderTitle

sap.uxap.ObjectPageDynamicHeaderTitle

UI Adaptation is enabled for the control and the following actions are possible:

  • Move, Split, and Combine action buttons

  • Move items defined in the snappedContent and expandedContent aggregations

  • Remove and Reveal the whole control

For more information, see the Sample and turn on the UI Adaptation using the wrench key button.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

Changed

Control

sap.uxap.ObjectPageHeader

sap.uxap.ObjectPageHeader

The new titleSelectorTooltip aggregation now enables you to set a custom tooltip for the titleSelector button of the sap.uxap.ObjectPageHeader.For more information, see the API Reference.

Changed•Control•Info Only•1.56

Info Only

2018-08-02

1.56

New

User Documentation

New Tutorial

New Tutorial

We have a new tutorial: Flexible Column Layout App Tutorial. In this tutorial, we showcase how to structure your OpenUI5 app using the layout patterns that comply with the latest SAP Fiori design guidelines.

Changed•User Documentation•Info Only•1.56

Info Only

2018-08-02

1.56

New

Feature

Demo Kit Improvements

Demo Kit Improvements

  • We've added a Change version button in the Demo Kit's toolbar that enables you to easily switch the app to a different OpenUI5 version.

  • In the API Reference, at the bottom of the API tree you can now find an Index by Version page that displays all APIs grouped by the release version they were first introduced in. Each release version is displayed as a separate tab.

    For more information, see API Reference: Index by Version.

New•Feature•Info Only•1.56

Info Only

2018-08-02

Parent topic:Previous Versions

Related Information

What's New in OpenUI5 1.131

What's New in OpenUI5 1.130

What's New in OpenUI5 1.129

What's New in OpenUI5 1.128

What's New in OpenUI5 1.127

What's New in OpenUI5 1.126

What's New in OpenUI5 1.125

What's New in OpenUI5 1.124

What's New in OpenUI5 1.123

What's New in OpenUI5 1.122

What's New in OpenUI5 1.121

What's New in OpenUI5 1.120

What's New in OpenUI5 1.119

What's New in OpenUI5 1.118

What's New in OpenUI5 1.117

What's New in OpenUI5 1.116

What's New in OpenUI5 1.115

What's New in OpenUI5 1.114

What's New in OpenUI5 1.113

What's New in OpenUI5 1.112

What's New in OpenUI5 1.111

What's New in OpenUI5 1.110

What's New in OpenUI5 1.109

What's New in OpenUI5 1.108

What's New in OpenUI5 1.107

What's New in OpenUI5 1.106

What's New in OpenUI5 1.105

What's New in OpenUI5 1.104

What's New in OpenUI5 1.103

What's New in OpenUI5 1.102

What's New in OpenUI5 1.101

What's New in OpenUI5 1.100

What's New in OpenUI5 1.99

What's New in OpenUI5 1.98

What's New in OpenUI5 1.97

What's New in OpenUI5 1.96

What's New in OpenUI5 1.95

What's New in OpenUI5 1.94

What's New in OpenUI5 1.93

What's New in OpenUI5 1.92

What's New in OpenUI5 1.91

What's New in OpenUI5 1.90

What's New in OpenUI5 1.89

What's New in OpenUI5 1.88

What's New in OpenUI5 1.87

What's New in OpenUI5 1.86

What's New in OpenUI5 1.85

What's New in OpenUI5 1.84

What's New in OpenUI5 1.82

What's New in OpenUI5 1.81

What's New in OpenUI5 1.80

What's New in OpenUI5 1.79

What's New in OpenUI5 1.78

What's New in OpenUI5 1.77

What's New in OpenUI5 1.76

What's New in OpenUI5 1.75

What's New in OpenUI5 1.74

What's New in OpenUI5 1.73

What's New in OpenUI5 1.72

What's New in OpenUI5 1.71

What's New in OpenUI5 1.70

What's New in OpenUI5 1.69

What's New in OpenUI5 1.68

What's New in OpenUI5 1.67

What's New in OpenUI5 1.66

What's New in OpenUI5 1.65

What's New in OpenUI5 1.64

What's New in OpenUI5 1.63

What's New in OpenUI5 1.62

What's New in OpenUI5 1.61

What's New in OpenUI5 1.60

What's New in OpenUI5 1.58

What's New in OpenUI5 1.54

What's New in OpenUI5 1.52

What's New in OpenUI5 1.50

What's New in OpenUI5 1.48

What's New in OpenUI5 1.46

What's New in OpenUI5 1.44

What's New in OpenUI5 1.42

What's New in OpenUI5 1.40

What's New in OpenUI5 1.38