<RangeHandlerClass><![CDATA[
dataset:tvc:dataset:tvx:enc/Organizations.xml|$<name> : $<revision>
]]></RangeHandlerClass>
23 March 2012
The Data Set configuration has been enhanced. For example, you can configure a data-set to remove the root-nodes in a structure and you can use a loader that will use the object-id of the current user’s Person business object OR the current user’s Company business object id.
Also, the way to configure some loaders has been simplified (the previous configurations works as previous). See "TVC Core Administration Guide" for further details.
The resource loader that loads the configuration files stored below /WEB-INF/tvc will as of this release exclude file not ending with ".xml", ".xsl" or ".xslt". Moreover, any directory that starts with a dot is excluded.
This behaviour is configurable through init parameters within web.xml within the TVC servlet definition. See the document "XML Based Definitions" for details.
As of this release, there is no longer a need to clear the TVC cache after adding new users into the ENOVIA system. The internal cache will automatically detect this.
The init parameters used to configure TVC that is entered into the WEB.XML file can as of this release be added into a separate file called "tvc.properties" available in the classpath. This makes it easier to apply parameters since you don’t need to modify web.xml; also the format of a properties file is slightly easier to maintain.
See "Installation Guide" for further details.
The login framework in TVC will now support using databases configured to be case insensitive.
The TVC log files are by default written into a directory provided by the Application Server. This directory can now be configured through init-parameters. See "Installation Guide" for details.
When evaluating tables and two or more columns selects the same
attribute, but some uses attribute[NAME]
and some uses
attribute[NAME].value
, this caused some problems in earlier releases
of TVC.
TVC will internally remove the trailing ".value" from the select statement. Existing data handlers will work as previous; there is no need to do any changes to existing code.
A table column can be associated with a custom range handler. This was previously required to be a Java class, but can as of this release be a data set.
<RangeHandlerClass><![CDATA[
dataset:tvc:dataset:tvx:enc/Organizations.xml|$<name> : $<revision>
]]></RangeHandlerClass>
A data set returns object id’s or relationship id’s, so you might want to use two other settings that specifies that the range value shall be matched against either the object-id or the relationship-id associated with the cell.
These settings are:
<MatchRangeOnObjectId>true</MatchRangeOnObjectId>
<MatchRangeOnRelationshipId>TRUE</MatchRangeOnRelationshipId>
TVC is partly translated into other languages than English (TVC Core and TVC Report Generator). This might result in that some users are seeing a mixed use of different languages in the same application. To prevent this, one can configure a special servlet-filter in web.xml that will force a specific language to be used.
This is described in the TVC Core Installation guide, but what you will do is adding some lines into your web.xml as shown below:
<filter>
<filter-name>set-locale</filter-name>
<filter-class>com.technia.tvc.core.util.http.SetLocaleFilter</filter-class>
<init-param>
<param-name>locale</param-name>
<param-value>EN</param-value>
</init-param>
</filter>
If the init-param "locale" is omitted, the default locale on the server will be used as "locale".
The "locale" param takes up to three values; each separated with an underscore. These are:
Language_Region_Country
The mapping to this filter should be created as below:
<filter-mapping>
<filter-name>set-locale</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
The Structure Browser can be configured to combine the so called row-actions into a common drop down menu in order to save some screen real estate.
The built-in actions such as "Navigate / Go-There", Add to Clipboard and Rearrange will then appear in the row-actions menu if it is enabled. In addition, some of the built-in columns provided by different TVC components can also be configured to be moved into this menu.
The row-actions menu is by default not enabled but can be done on a global level or per Structure Browser instance.
A new data handler has been added in the Structure Browser for retrieval of related object information. To use this data handler, see the column definition below:
<Column>
<Name>design_organization</Name>
<Label>RDO</Label>
<Setting name="Relationship">relationship_DesignResponsibility</Setting>
<Setting name="Direction" value="to"/>
<Setting name="Select" value="name"/>
<ColumnType>relatedobject</ColumnType>
</Column>
This column accepts a number of settings that controls what to retrieve, e.g:
Setting | Description | Required |
---|---|---|
Type |
Specifies the type of object to retrieve |
Yes |
Relationship |
Specifies what relationship to select the related object from- |
Yes |
Direction |
Specifies the direction (to or from) |
No |
Relationship If |
Specifies a condition that must be evaluated to true on the relationships. |
No |
Object If |
Specifies a condition that must be evaluated to true on the objects. |
No |
Select |
The expression to select that will be used as value in the cell. If the select setting starts with "rel:" the statement will be selected on the relationship. If not specified, the "name" statement will be used as select expression. |
No |
Calculate Percentage |
True to calculate a percentage of related objects that matches the criteria. |
No |
Calculate Count |
True to calculate the count of related objects that matches the criteria. |
No |
This data handler can be used in combination with the progress renderer if you set the "Calculate Percentage" setting to true.
The number of columns and rows, which the text-area field should have in the user-interface can be configured within the form definition.
In some cases, there is the need to sort the dynamic attributes that are added to the form using the DynamicAttributesField. This is now supported by specifying a separate resource type called "formsortconfig". By adding a reference to this resource type in a DynamicAttributesField, the attributes loaded will be sorted according to the specified sorting resource:
<DynamicAttributesField>
...
<SortOrderConfig ref="tvc:formsortconfig/MySorting.xml" />
...
</DynamicAttributesField>
The sorting order itself is defined in the xml file being referenced. The format allows for sorting attributes for certain types or classifications differently. For example, if choosing the type "Screw Part" in a form, the attributes should be sorted differently than when choosing the type "Bolt Part". The xml is structured so that each specified type or classification contains its own sort order. In addition, it is also possible to specify if a certain attribute is required or not. Here is an example:
<FormSort>
<Type name="type_SoftwarePart">
<Attribute>attribute_Title</Attribute>
<Attribute>attribute_IsVersion</Attribute>
<Attribute>attribute_CurrentVersion</Attribute>
<Attribute required="true">attribute_Weight</Attribute>
<Attribute>attribute_TargetCost</Attribute>
<Attribute required="true">attribute_MaterialCategory</Attribute>
</Type>
<Type name="type_ScrewPart">
<Attribute>attribute_Height</Attribute>
<Attribute required="true">attribute_Weight</Attribute>
<Attribute required="true">attribute_Length</Attribute>
<Attribute required="true">attribute_EndItem</Attribute>
</Type>
</FormSort>
If the sorting is to be done on classifications (In cases where the DynamicAttributesField is linked to a ClassificationField), the sort xml should use the Classification element instead of the Type element:
<FormSort>
<Classification name="Part Family01">
<Attribute>attribute_Attr3</Attribute>
<Attribute>attribute_Attr1</Attribute>
<Attribute>attribute_Attr2</Attribute>
</Classification>
<Classification name="Part Family02">
<Attribute>Height</Attribute>
<Attribute required="true">Length</Attribute>
<Attribute>Width</Attribute>
</Classification>
</FormSort>
As of this release, we have added support for users on Windows using a 64-bit Java Virtual Machine.
The action available in the File Manager for displaying related documents in a Structure Browser table has been enhanced and supports better filtering capabilities. For example, you can specify type patterns that will make it possible to show documents of a certain type. Moreover, you can also apply where expressions specifying other criteria of the related documents. See "TVC File Manager Administration Guide" for further details.
The Chart gadget now has support for populating the data into chart using a variety of different loaders. Previously, only an Inquiry could be used.
The supported loaders as of this release are listed below:
Inquiry
Data Set
Select Expression (Selects from the current object-ids available)
Java Class (implementing the interface com.technia.tvc.graphicreporting.dashboard.provider.Loader)
JPO
The example below illustrates how to use these:
<Chart id="example">
...
<Loader>dataset:tvc:dataset:tvx/MyDataSet.xml</Loader>
...
</Chart>
A new chart provider has been added that is using the JQPlot chart library. The previously used chart providers "Google Visualization" and "Open Flash" charts are still supported. The JQPlot provider is based on a Java Script API and requires no additional browser plugin (Flash) and it also supports drill-downs (which Google Visualization did not).
The JQPlot chart provider also introduces a new chart type allowing you to create bubble charts.
Chart Provider | Example |
---|---|
pie-jqplot |
image::image4.png[image] |
bar-jqplot |
image::image5.png[image] |
line-jqplot |
image::image6.png[image] |
bubble-jqplot |
image::image7.png[image] |
It is possible to configure the charts within a dashboard to support filtering the data. The filter criteria are defined in the dashboard configuration and are used to reduce the amount of data loaded by the loaders.
When the dashboard configuration contains the filter definition, the user will be able open the filter dialog and select what data to be shown.
If you have tables in a gadget allowing drill-downs, you can instead of configure the dashboard configuration to be used within the column (as shown in the example below) configure this on the page config level instead to increase re-usability of the views/tables in different use-cases.
<Column>
<Name>project</Name>
...
<ColumnType>dashboard</ColumnType>
<Setting name='DashboardConfig'>tvc:dashboard:tvx:dashboard/Project.xml</Setting>
</Column>
The above example could now be configured on the page configuration level as shown below:
<PageConfig>
...
<Parameters>
<Parameter name="dashboardconfig.project">tvc:dashboard:tvx:dashboard/Project.xml</Parameter>
</Parameters>
</PageConfig>
The interface com.technia.tvc.core.gui.dashboard.Gadget
has been
slightly changed.
The signature for the method getContent
has been changed to also pass
the current HttpServletRequest object.
Previous signature was:
Content getContent(DashboardContext context) throws TVCException
As of this release, the signature looks like:
Content getContent(HttpServletRequest request, DashboardContext context) throws TVCException
A new component called TVC Wiki has been added. This component will not require an additional license and can be used by anyone having a valid license for TVC Core. The TVC Wiki component will however not be installed automatically, you need to say so in the installer if you want to include this component.
The TVC Wiki component adds the ability to create and edit any number of interlinked pages in ENOVIA using a simplified mark-up language or using a rich text editor that presents the user with at "what-you-see-is-what-you-get" (WYSIWYG) editing area. The main features of the Wiki are:
Create and edit wiki pages
Markup editor
Rich Text editor
Interlinking between pages
Linking to external web pages
Linking to ENOVIA objects
Adding attachments
Adding Reference Objects (ENOVIA objects)
Displaying image attachments on a page
Page versioning
Page history
Sub pages
Free text search of wiki page content
Commenting pages
Dynamic menu tree
Breadcrumbs
Wiki Administration
The TVC Wiki can be incorporated into your ENOVIA environment in a variety of ways:
As a global Wiki accessible from the "global toolbar"
As a context Wiki related to a business object inside ENOVIA
A context wiki can be configured to be shown in a "slimmed" mode, meaning that you remove some functionality from the Wiki in order to simplify the usage of the wiki. In slimmed mode, you will not be able to add sub pages.
Below are some screenshots that illustrates the Wiki functionality.
The TVC Mobile Access component allows mobile devices access to ENOVIA data through a different HTML based user interface better suited for devices with touch- and smaller screens.
This component leverages functionality from existing TVC components such as TVC Core, TVC Structure Browser and TVC Graphic Reporting (dashboard). The latter component is not required but if present, you can configure your Mobile user interface to display dashboards with charts.
The user interface is designed to work on most of the popular smart-phones and tablets.
The main features are:
Desk with shortcuts to different parts of the application
Object Search
Tables (Flat and Navigate mode) with Data Handler and Cell Renderer support
Top Panel
Tabs
Forms (View, Edit, Create)
Dashboard with charts
The ECO/ECR manager can now be configured to require the user to re-enter his/her user name (in addition to the password) when signing a signature.
This is configured as a system init parameter:
<init-param>
<param-name>tvc.ecomgmt.sign.needsUsername</param-name>
<param-value>true</param-value>
</init-param>
The TVC MCAD Optimizer component has been upgraded with support for Catia data. When installing the MCAD Optimizer you get access to "My Catia Objects" and the "Catia Navigator" allowing you to work with Catia Data using TVC components.
Under "My desk" → "Designer" you get a command called "My Catia Objects". This launches a page with a couple of tabs with Structure Browser tables. Here you can find all Catia objects that you are the "owner" of and the most relevant information like thumbnails, basics, related objects, preview etc.
The "Catia Navigator" is automatically added to the type menu for all Catia objects. This command will launch a page showing you a top panel with information about the object. Below the top panel you will get some tabs with Structure Browser tables allowing you to expand the complete Catia structure. You have a couple of tabs with different information like revisions, where used etc.