16 August 2013

1. Core

1.1. Tab Dropdown

Tabs that don’t fit on a single row are now rendered in the tab configuration dropdown instead. (This behaviour can be disabled). This is to prevent tabs from taking too much vertical space on small screens.

image

1.2. jQuery Update

jQuery has been updated to version 1.9.1

1.3. DataSet – Latest revision in State

It is now possible to include latest revision in a specific state for datasets.

Example: A part has three revisions - 1 and 2 are Released and 3 is Preliminary. In my search result I only want to display the latest released revision which in this case would be revision 2.

<DataSet>
    <LatestInState>
        <Name>Released</Name>
        <Query>
            <TypePattern>
                <Type>Part</Type>
            </TypePattern>
            <NamePattern>
                <Name>120*</Name>
            </NamePattern>
        </Query>
    </LatestInState>
</DataSet>

2. Structure Browser

2.1. Flipped Table Mode

A new display mode called Flipped has been added. This mode renders a table with the objects as columns and the table columns as rows.

image

2.1.1. Configuration

To use the flipped display mode, modify the "Display Mode" value on the view being used:

Example 1:

<DisplayMode>flipped</DisplayMode>

Example 2: (explicitly define column width)

<DisplayMode>flipped:Widths=150</DisplayMode>

2.2. In cell edit

To simplify occasional modifications, a single cell is toggled to edit mode just by clicking it.

Note that this functionality is default enabled but could be controlled globally, per page or per column.

image

2.3. Resizable Side Panel

Users can now resize the side panel by drag/drop, so that more of the content can be made visible.

2.4. Drag and Drop Move

When drag and dropping within a table the dragged object is by default connected to the node on which it was dropped on (in addition to where it previously was connected). It is also possible to move the dragged object, i.e. disconnect it from where it was previously used.

This can be enabled by adding the following setting to the page configuration:

drag:internal Specifies behaviour when drag and dropping objects within a table. copy (default) move

Example:

<PageConfig>
    ...
    <Parameters>
        <Parameter name="drag:internal" value="move"/>
    </Parameters>
</PageConfig>

This can by enabled globally with a system-parameter. Example:

<init-param>
    <param-name>tvc.structurebrowser.dragdrop.internal</param-name>
    <param-value>move</param-value>
</init-param>

2.4.1. How to migrate to DragDropHandler

A new more flexible interface is provided when writing custom java handlers - DragDropHandler. Implement this interface instead of ConnectHandler (deprecated).

Changes are done to the perform method where you now are provided with a DragDropContext object. This object contains all the information passed to the old perform method as well as more information:

Method Description

getDragObjectId()

Object id of the dragged object

getDragRelationshipId()

Relationship id of the dragged object

getDragDataId()

Data id of the dragged in the source table of the object

getSourceTableBean()

Table bean where the drag and drop was initiated

getDragSelectedData()

Gets the selected data (what data that is fetched is determined by the method getSelects()in the DragDropHandler)

getDropObjectId()

Object id of the object which node is dropped on

getDropRelationshipId()

Relationship id of the object which the node is dropped on

getDropDataId()

Data id of the the object which the node is dropped on

getTargetTableBean()

Table bean which the node was dropped on

getDropSelectedData()

Gets the selected data (what data that is fetched is determined by the method getSelects()in the DragDropHandler)

isInSameTable()

Was the drag initiated in the same table as where it was dropped

getRequest()

Request object

In some use cases the getDragRelationship() and getDataId() returns null. This can for example be when the drag and dropping items from the clipboard where no such information exists.

2.5. Hide or View rows with images in Excel Export

It is now possible to define how Excel handles rows containing images. This is done by a TVC System Parameter called tvc.structurebrowser.export.excel.imageAnchorType. Possible values are:

  • move_dont_resize

  • dont_move_and_resize

  • move_and_resize

2.6. Printer Friendly – Tiled

A new printer friendly view Tiled has been added for HTML mode.

2.7. TinyMCE Updated

TinyMCE has been updated to version 3.5.8

2.8. Toggle edit behaviour

The scroll position is now retained after toggling between edit and view mode. The top left cell visible prior to toggle is still visible.

2.9. Selection tracking in data group mode

Configurations such as rearranging/hiding/sorting table columns are now possible to do when in data group mode.

2.10. Resizing columns

When columns are resized, the row height is now updated accordingly. Text content is also properly wrapped.

3. Mobile

3.1. XBOM/XBL Enhancements

It is now possible to list XBLs and navigate them.

4. File Manager

4.1. File permission warning

The user now receives a warning if he/she does not have checkout access.

4.2. Sorting multiple files

If multiple files are checked in, they are now being sorted first on format, secondly on name.

4.3. Behavioural changes

  • "New version available" message is no longer shown at checkin

  • Cancelling an override no longer prevents you to try again

5. Graphic Reporting

5.1. Side-by-side Gadget Comparison

It is now possible to select multiple gadgets in a dashboard and display them side by side to visually compare the contents.

image

5.2. Dashboard Filters selection

It is now possible to (de)select all filters in dashboards.

image